摘要: 原文:http://www.cnblogs.com/pioneerlc/archive/2011/05/21/2053052.html一般来说,在更新DataTable或是DataSet时,如果不采用SqlParameter,那么当输入的Sql语句出现歧义时,如字符串中含有单引号,程序就会发生错误,... 阅读全文
posted @ 2014-11-18 17:28 季樊 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Content: 把李天平老师的代码拿过来学习 原文地址:http://www.cnblogs.com/aivdesign/articles/1263247.html 1 using System; 2 using System.Collections; 3 using System.... 阅读全文
posted @ 2014-11-18 15:39 季樊 阅读(1878) 评论(0) 推荐(1) 编辑
摘要: 转 查看原文http://www.cnblogs.com/andy2005/archive/2007/12/04/981864.htmlselect语句中只能使用sql函数对字段进行操作(链接sql server), select 字段1 from 表1 where 字段1.IndexOf("云")... 阅读全文
posted @ 2014-11-18 08:47 季樊 阅读(534) 评论(0) 推荐(1) 编辑