摘要: private string allKeywords = ""; public string outputKeywords(Model.users users) { allKeywords += (" "+keywordsOfAge(users.age)); allKeywords += (" " + ... 阅读全文
posted @ 2008-12-09 12:20 5x10 阅读(798) 评论(0) 推荐(0)
摘要: 此方法的不足:牺性一个apsx页面输出xml代码 apsx页: CS页: //初始化 岗位大类表。 String strSQL = "select [BigPKID],[BigType] from StationBigType"; object objStationBigType = ObjDB.DeleteAndGetBySql(strSQL, Globals.GetConne... 阅读全文
posted @ 2008-12-06 12:43 5x10 阅读(349) 评论(0) 推荐(0)
摘要: DataSet.Merge (DataRow[]) 将 DataRow 对象数组合并到当前的 DataSet 中。 由 .NET Compact Framework 支持。 DataSet.Merge (DataSet) 将指定的 DataSet 及其架构合并到当前 DataSet 中。 由 .NET Compact Framework 支持。 DataSet.Mer... 阅读全文
posted @ 2008-12-03 16:10 5x10 阅读(212) 评论(0) 推荐(0)
摘要: 上一页 下一页 ... 阅读全文
posted @ 2008-12-03 10:54 5x10 阅读(388) 评论(0) 推荐(0)
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#region 公用方法 /// /// 判断是否存在某表的某个字段 /// /// 表名称 /// 列名称 ... 阅读全文
posted @ 2008-12-03 09:08 5x10 阅读(184) 评论(0) 推荐(0)
摘要: 一直在使用sqlserver 等数据库,没想到遇到一个需要access数据库的小程序 ,郁闷的很: 首先数据库连接字符串: 数据库连接类里:public static readonly string CONN_STRING_NON_DTC = System.Configuration.ConfigurationManager.AppSettings["SQLConnStri... 阅读全文
posted @ 2008-12-03 09:01 5x10 阅读(210) 评论(0) 推荐(0)
摘要: CREATE Proc Select_Contact_ByName@Name Varchar(50) = ''Asif( @Name = '' Or @Name = null )Select * From ContactelseSelect * From Contact Where Name Like '%'+@Name+'%'GO private SqlParameter sqlPara... 阅读全文
posted @ 2008-12-01 10:05 5x10 阅读(171) 评论(0) 推荐(0)
摘要: 1.null null 关键字是表示不引用任何对象的空引用的文字值。null 是引用类型变量的默认值。那么也只有引用型的变量可以为NULL,如果 int i=null,的话,是不可以的,因为Int是值类型的。 2.""和String.Empty 这两个都是表示空字符串。只不过""理论上重新开辟内存空间,而String.Empty指向一处。不过优化器会优化的! 1.string... 阅读全文
posted @ 2008-12-01 09:46 5x10 阅读(223) 评论(0) 推荐(0)
摘要: SharedObject.getLocal("UserInfo","/");//使用‘/’这个路径,则同一域下所有文件都可以共享,若不想让所有文件都共享,则可以写详细路径 阅读全文
posted @ 2008-11-29 11:20 5x10 阅读(208) 评论(0) 推荐(0)
摘要: Response.Write(""); Response.Write(""); Response.Write("" + userName + ""); Response.Write("" + age + ""); Response.Write("" + sex + ""); Response.Write("" + ... 阅读全文
posted @ 2008-11-29 10:35 5x10 阅读(532) 评论(0) 推荐(0)