1.把字符串转为日期格式 (1) var str ='2012-08-12 23:13:15';str = str.replace(/-/g,"/");var date = new Date(str ); (2) function strToDate(str) { var tempStrs = str.split(" "); var dateStrs = tempStrs[0].split("-"); var year = parseInt(…
泛型集合.datatable常用数据类型转换Json帮助类 using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebCon…