上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 51 下一页
摘要: sql的 where in 删除 要更改为 // in( ) 阅读全文
posted @ 2018-08-10 12:02 enych 阅读(311) 评论(0) 推荐(0) 编辑
摘要: string filePath = System.Web.HttpContext.Current.Request.MapPath("");//获得控制器名字目录下的 filePath = System.Web.HttpContext.Current.Request.MapPath("../");// 阅读全文
posted @ 2018-08-08 10:34 enych 阅读(1122) 评论(0) 推荐(0) 编辑
摘要: if(System.IO.File.Exists(@"")) { } if (System.IO.File.Exists(HttpRuntime.AppDomainAppPath + model.FilePath)) //判断文件是否存在 { try ... 阅读全文
posted @ 2018-08-07 09:35 enych 阅读(18811) 评论(0) 推荐(2) 编辑
摘要: var ss = Server.MapPath(""); //C:\Users\Administrator\Desktop\Csharp测试程序\TestMVC\TestMVC ss = ss + "/bin/index.html"; using (StreamReader sr = new StreamReader(ss, Syste... 阅读全文
posted @ 2018-08-06 17:47 enych 阅读(3278) 评论(0) 推荐(0) 编辑
摘要: [System.Runtime.InteropServices.DllImport("kernel32.dll")] static extern uint GetTickCount(); // GET: Home public ActionResult Index() { //System... 阅读全文
posted @ 2018-08-06 09:03 enych 阅读(402) 评论(0) 推荐(0) 编辑
摘要: #region --根据空格数截取 string temp = ""; int k = 0; int jc = 0; //循环截取 int[] rules1 = { 7, 6 }; while (!sr.EndOfStrea... 阅读全文
posted @ 2018-08-03 09:42 enych 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 123456789 123456789 0000000000 日期 123456789 1234560000000789 ----------- ----------- ----------- ----------- ----------- 123456789 123456789 0000000000 ... 阅读全文
posted @ 2018-08-02 16:29 enych 阅读(4938) 评论(0) 推荐(1) 编辑
摘要: string str = "4231"; int js = 1; var ss = ""; for (int i=0;i<str.Length;i++) { var s0 = str[i].ToString(); var s1 = (js... 阅读全文
posted @ 2018-07-30 16:11 enych 阅读(573) 评论(0) 推荐(0) 编辑
摘要: <input type="file" id="file1" onChange="test()"> function test(){ var file1 = document.getElementById('file1'); alert("0000"); } 打开一个1G大小的文件无延迟, last 阅读全文
posted @ 2018-07-26 12:09 enych 阅读(150) 评论(0) 推荐(0) 编辑
摘要: C# 阅读全文
posted @ 2018-07-20 16:40 enych 阅读(279) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 51 下一页