摘要:模糊查询一般都是采用like '%xxx%'的方式 ,格式化是需要对特殊字符进行转义 例,“[”需转义成“[ [ ]”,用中括号进行转义 /// 对字符串进行sql格式化,并且符合like查询的格式。 /// /// 要转换的字符串 /// 格式化后的字符串 public static string To...
阅读全文
posted @ 2008-08-04 00:06
|
|||
08 2008 档案
摘要:模糊查询一般都是采用like '%xxx%'的方式 ,格式化是需要对特殊字符进行转义 例,“[”需转义成“[ [ ]”,用中括号进行转义 /// 对字符串进行sql格式化,并且符合like查询的格式。 /// /// 要转换的字符串 /// 格式化后的字符串 public static string To...
阅读全文
posted @ 2008-08-04 00:06
摘要: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
摘要:ASP.NET-GridView的分页功能 2007-12-05 19:54 要实现GrdView分页的功能。 操作如下: 1、更改GrdView控件的AllowPaging属性为true。 2、更改GrdView控件的PageSize属性为 任意数值(默认为10)...
阅读全文
posted @ 2008-08-02 11:39
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 第一: private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( R...
阅读全文
posted @ 2008-08-02 11:02
|
|||