摘要: 关键字 CHARINDEX CHARINDEX 可以返回某个字段在一串文字中出现的位置,跟String的indexOf用法类似,相同于%LIKE%。 用法例如: 表: SQL语句: select * from tt where CHARINDEX( name ,(select xiaji from 阅读全文
posted @ 2017-08-10 11:29 trueblue 阅读(10592) 评论(0) 推荐(0) 编辑
摘要: //json格式的类 var j = 'obj = { Server:"192.168.2.160",Port:"10000",Url: function (){return this.Server + ":" + this.Port;}} '; var jc = eval(j); //转换为对象 阅读全文
posted @ 2016-05-16 11:46 trueblue 阅读(6615) 评论(0) 推荐(1) 编辑
摘要: 简单的使用实例: <script id="dataTmpl" type="text/x-jquery-tmpl"> <tr> <td>${ParkName}</td> <td>${CPH}</td> <td>${CardNO}</td> <td>${$item.embolden(CarCardTyp 阅读全文
posted @ 2016-05-13 16:03 trueblue 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: win7 64位系统,使用vs2013, 用水晶报表报以下错误, 安装了 CrystalReports10_5 中的CRRedist2008_x64.msi CRRedist2008_x86.msi 仍然报以下错误。“/”应用程序中的服务器错误。An error has occurred whil... 阅读全文
posted @ 2015-08-27 17:12 trueblue 阅读(1314) 评论(0) 推荐(0) 编辑