2011年10月18日
摘要: c#中加一个@符号就可以保存字符串的格式如:private const string TableStructureStatement = @"SELECT TABLE_NAME AS TableName , COLUMN_NAME As ColumnName, CHARACTER_MAXIMUM_LENGTH As MaxCharacters FROM INFORMATION_SCHEMA.COLUMNS ... 阅读全文
posted @ 2011-10-18 15:26 cw_volcano 阅读(284) 评论(0) 推荐(0) 编辑
摘要: aspx:<ul id="productTree"></ul>js:var productTreeInfo = { tree: null, setting: null, nodes: null, treeId: "productTree", nodeId: "", nodeName: "", nodeLevel: 0};jQuery(function ($) { initTree();});//强制刷新树菜单var refresh = "no";function refr 阅读全文
posted @ 2011-10-18 15:18 cw_volcano 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: 1.public JsonResult JudgeHisList(JqGridParameter jqGridParameter, string hid){try{iPAL.Models.Pub.iPAL_ManagerDataContext Qualitydb = new iPAL_ManagerDataContext();var list = from a in Qualitydb.MANAGER_QUALITY_HIS_COMMENT join b in Qualitydb.MANAGER_CFG_QUALITY_HIS on a.hid equals b.Id where a.hid 阅读全文
posted @ 2011-10-18 15:14 cw_volcano 阅读(893) 评论(0) 推荐(0) 编辑
摘要: DBLogController.cs:#region 全局变量及构造器IDBLogRepository dblog;public DBLogController(): this(new DBLogRepository()){}public DBLogController(DBLogRepository dblog){this.dblog = dblog;}#endregionDBLogRepository.cs:public class DBLogRepository : IDBLogRepository{DBLogDataContext dblog;public DBLogRepositor 阅读全文
posted @ 2011-10-18 15:13 cw_volcano 阅读(1477) 评论(0) 推荐(0) 编辑