摘要:
sql的 where in 删除 要更改为 // in( ) 阅读全文
摘要:
string filePath = System.Web.HttpContext.Current.Request.MapPath("");//获得控制器名字目录下的 filePath = System.Web.HttpContext.Current.Request.MapPath("../");// 阅读全文
摘要:
if(System.IO.File.Exists(@"")) { } if (System.IO.File.Exists(HttpRuntime.AppDomainAppPath + model.FilePath)) //判断文件是否存在 { try ... 阅读全文
摘要:
var ss = Server.MapPath(""); //C:\Users\Administrator\Desktop\Csharp测试程序\TestMVC\TestMVC ss = ss + "/bin/index.html"; using (StreamReader sr = new StreamReader(ss, Syste... 阅读全文
摘要:
[System.Runtime.InteropServices.DllImport("kernel32.dll")] static extern uint GetTickCount(); // GET: Home public ActionResult Index() { //System... 阅读全文
摘要:
#region --根据空格数截取 string temp = ""; int k = 0; int jc = 0; //循环截取 int[] rules1 = { 7, 6 }; while (!sr.EndOfStrea... 阅读全文
摘要:
123456789 123456789 0000000000 日期 123456789 1234560000000789 ----------- ----------- ----------- ----------- ----------- 123456789 123456789 0000000000 ... 阅读全文
摘要:
string str = "4231"; int js = 1; var ss = ""; for (int i=0;i<str.Length;i++) { var s0 = str[i].ToString(); var s1 = (js... 阅读全文
摘要:
<input type="file" id="file1" onChange="test()"> function test(){ var file1 = document.getElementById('file1'); alert("0000"); } 打开一个1G大小的文件无延迟, last 阅读全文