11 2007 档案
摘要:SqlParameter[] signOnParms = GetSignOnParameters(); SqlParameter[] accountParms = GetAccountParameters(); SqlParameter[] profileParms = GetProfileParameters(); signOn...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->/*以后我们做多条件查询,一种是排列结合,另一种是动态拼接SQL 如:我们要有两个条件,一个日期@addDate,一个是@name 第一种写法是 */ if (@addDate is not n...
阅读全文
摘要:--1.“俄罗斯存储过程”的改良版 CREATE procedure pagination1 (@pagesize int, --页面大小,如每页存储20条记录 @pageindex int --当前页码) as set nocount on begin declare @indextable table(id int identity(1,1),nid int) --定义表变量 decla...
阅读全文
摘要://使用控件的RenderControl()方法生成HTML表格 string strName = "HuaMingCe"; Response.Clear(); Response.Buffer = true; Response.Charset = "utf-8"; Response.AppendHeader("C...
阅读全文
摘要://判断字符是否英文半角字符或标点 //32 空格 //33-47 标点 //48-57 0~9 //58-64 标点 //65-90 A~Z //91-96 标点 //97-122 a~z //123-126 标点 public static bool IsBjChar(char ...
阅读全文