08 2018 档案
摘要:try { MemoryStream vMemoryStream = iData.GetData("Html Format") as MemoryStream; if (vMemoryStream!=null) { ...
阅读全文
摘要:public ActionResult Add(FormCollection fm) //通过FormCollection 对象获取表单数据 { string message = ""; string desc = ""; bool flag = false; var WritDocName = fm["WritDocName"]; var Time = fm["Time"];
阅读全文
摘要:文字顶部 对齐 vertical-align: top; 在 table 中使用,
阅读全文
摘要:if (fileElem.files.length == 0) { alert("文件不能为空"); //layer.msg("文件不能为空!"); return false;}
阅读全文
摘要:width: 1563px;(max) 1348+152 = 1400 分页了 1348+151 = 1398 分页了 1348+150 = 1398 没有分页 var height = Math.Ceiling((double)(1398/ ViewBag.results[0].Count)); @item[i].Column2 @item[i].Column5
阅读全文
摘要:Select A,B,C from Tb1 –查询所有 Select A,replace(B,’1’,’壹’),C from Tb1 替换查询 Tb1 A B C AA1 1 CC AA2 2 CC AA3 3 CC 有什么方法 同时 把1替换为壹 把 2替换贰,把3替换叁
阅读全文
摘要:转https://blog.csdn.net/tangolivesky/article/details/46507723?tdsourcetag=s_pcqq_aiomsg
阅读全文
摘要: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 ...
阅读全文