会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
享在江湖
博客园
首页
新随笔
联系
订阅
管理
2016年6月4日
删除数据的所有表
摘要: 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 享在江湖
阅读(113)
评论(0)
推荐(0)
2015年12月7日
日期增加减少
摘要: 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 享在江湖
阅读(141)
评论(0)
推荐(0)
2015年6月11日
参数带中文
摘要: &state='+escape(state), System.Web.HttpUtility.UrlDecode(Context.Request["state"].ToString());
阅读全文
posted @ 2015-06-11 14:42 享在江湖
阅读(136)
评论(0)
推荐(0)
2015年6月8日
DataTable转换JSON
摘要: public static string getJson2(this DataTable dt) { List> list = new List>(); foreach (DataRow dr in dt.Rows) { Dic...
阅读全文
posted @ 2015-06-08 14:26 享在江湖
阅读(105)
评论(0)
推荐(0)
2015年5月14日
自动跳转JS代码
摘要: public static void TipAndRedirect(string msg, string goUrl, string second) { HttpContext.Current.Response.Write(""); Htt...
阅读全文
posted @ 2015-05-14 13:10 享在江湖
阅读(257)
评论(0)
推荐(0)
2015年5月7日
多文档上传文件
摘要: HttpFileCollection Files = HttpContext.Current.Request.Files; for (int i = 0; i 0) { string FileName = PostedFile.FileName; string strExPrentFile = ...
阅读全文
posted @ 2015-05-07 14:16 享在江湖
阅读(112)
评论(0)
推荐(0)
2015年4月24日
每个程序员都有一颗想改变世界的心
摘要: 每个程序员都有一颗想改变世界的心
阅读全文
posted @ 2015-04-24 16:29 享在江湖
阅读(100)
评论(0)
推荐(0)
获取在服务器上面的路径
摘要: string pathfile = HttpContext.Current.Server.MapPath("XMLFile.xml");
阅读全文
posted @ 2015-04-24 11:30 享在江湖
阅读(117)
评论(0)
推荐(0)
公告