摘要: declare @sql varchar(8000)while (select count(*) from sysobjects where type='U')>0beginSELECT @sql='drop table ' + nameFROM sysobjectsWHERE (type = 'U 阅读全文
posted @ 2016-06-04 15:51 享在江湖 阅读(109) 评论(0) 推荐(0) 编辑
摘要: function addDate(date, days) { var d = new Date(date); d.setDate(d.getDate() + days); var month = d.getMonth() + 1; ... 阅读全文
posted @ 2015-12-07 15:59 享在江湖 阅读(138) 评论(0) 推荐(0) 编辑
摘要: &state='+escape(state), System.Web.HttpUtility.UrlDecode(Context.Request["state"].ToString()); 阅读全文
posted @ 2015-06-11 14:42 享在江湖 阅读(129) 评论(0) 推荐(0) 编辑
摘要: public static string getJson2(this DataTable dt) { List> list = new List>(); foreach (DataRow dr in dt.Rows) { Dic... 阅读全文
posted @ 2015-06-08 14:26 享在江湖 阅读(102) 评论(0) 推荐(0) 编辑
摘要: public static void TipAndRedirect(string msg, string goUrl, string second) { HttpContext.Current.Response.Write(""); Htt... 阅读全文
posted @ 2015-05-14 13:10 享在江湖 阅读(253) 评论(0) 推荐(0) 编辑
摘要: HttpFileCollection Files = HttpContext.Current.Request.Files; for (int i = 0; i 0) { string FileName = PostedFile.FileName; string strExPrentFile = ... 阅读全文
posted @ 2015-05-07 14:16 享在江湖 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 每个程序员都有一颗想改变世界的心 阅读全文
posted @ 2015-04-24 16:29 享在江湖 阅读(99) 评论(0) 推荐(0) 编辑
摘要: string pathfile = HttpContext.Current.Server.MapPath("XMLFile.xml"); 阅读全文
posted @ 2015-04-24 11:30 享在江湖 阅读(112) 评论(0) 推荐(0) 编辑