摘要:
模糊查询一般都是采用like '%xxx%'的方式 ,格式化是需要对特殊字符进行转义 例,“[”需转义成“[ [ ]”,用中括号进行转义 /// 对字符串进行sql格式化,并且符合like查询的格式。 /// /// 要转换的字符串 /// 格式化后的字符串 public static string To... 阅读全文
posted @ 2008-08-04 00:06 BlackPhoenix 阅读(3227) 评论(0) 推荐(0)
|
|||
摘要:
模糊查询一般都是采用like '%xxx%'的方式 ,格式化是需要对特殊字符进行转义 例,“[”需转义成“[ [ ]”,用中括号进行转义 /// 对字符串进行sql格式化,并且符合like查询的格式。 /// /// 要转换的字符串 /// 格式化后的字符串 public static string To... 阅读全文
posted @ 2008-08-04 00:06 BlackPhoenix 阅读(3227) 评论(0) 推荐(0)
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->int a = 12345678; //格式为sring输出 // Label1.Text = string.Format("asdfadsf{0}adsfasdf",a); // La... 阅读全文
posted @ 2008-08-04 00:02 BlackPhoenix 阅读(33980) 评论(5) 推荐(7) |
|||