var regTime= item.BeginDate.replace(/\-/g, "/"); ------ item.BeginDate 我的日期年月日的 (/\-/g, "/") 将日期里面的-换成/ var egTime= item.EndDate.replace(/\-/g, "/"); ------ var beginDate = new Date(regTime); var EndDate = new Date(egT
1.获取特定表的所有列名: Select Name FROM SysColumns Where id=Object_Id('tableName') 参考:http://blog.csdn.net/wuxiaokaixinguo/article/details/8293039 2.获取特定表的所有列名和备注信息 SELECT a.column_id AS No, a.name AS 列名, isnull(g.[value],'-') AS 说明 FROM sys.columns a left jo