08 2018 档案

摘要:try { MemoryStream vMemoryStream = iData.GetData("Html Format") as MemoryStream; if (vMemoryStream!=null) { ... 阅读全文
posted @ 2018-08-25 11:19 enych 阅读(883) 评论(0) 推荐(0) 编辑
摘要:public ActionResult Add(FormCollection fm) //通过FormCollection 对象获取表单数据 { string message = ""; string desc = ""; bool flag = false; var WritDocName = fm["WritDocName"]; var Time = fm["Time"]; 阅读全文
posted @ 2018-08-23 09:48 enych 阅读(1408) 评论(0) 推荐(0) 编辑
摘要:文字顶部 对齐 vertical-align: top; 在 table 中使用, 阅读全文
posted @ 2018-08-16 18:29 enych 阅读(10041) 评论(0) 推荐(0) 编辑
摘要:if (fileElem.files.length == 0) { alert("文件不能为空"); //layer.msg("文件不能为空!"); return false;} 阅读全文
posted @ 2018-08-15 18:55 enych 阅读(4260) 评论(1) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2018-08-14 18:20 enych 阅读(2788) 评论(0) 推荐(1) 编辑
摘要: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替换叁 阅读全文
posted @ 2018-08-11 10:59 enych 阅读(4932) 评论(0) 推荐(0) 编辑
摘要:转https://blog.csdn.net/tangolivesky/article/details/46507723?tdsourcetag=s_pcqq_aiomsg 阅读全文
posted @ 2018-08-10 12:24 enych 阅读(190) 评论(0) 推荐(0) 编辑
摘要:sql的 where in 删除 要更改为 // in( ) 阅读全文
posted @ 2018-08-10 12:02 enych 阅读(313) 评论(0) 推荐(0) 编辑
摘要:string filePath = System.Web.HttpContext.Current.Request.MapPath("");//获得控制器名字目录下的 filePath = System.Web.HttpContext.Current.Request.MapPath("../");// 阅读全文
posted @ 2018-08-08 10:34 enych 阅读(1160) 评论(0) 推荐(0) 编辑
摘要:if(System.IO.File.Exists(@"")) { } if (System.IO.File.Exists(HttpRuntime.AppDomainAppPath + model.FilePath)) //判断文件是否存在 { try ... 阅读全文
posted @ 2018-08-07 09:35 enych 阅读(18870) 评论(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 阅读(3301) 评论(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 阅读(416) 评论(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 阅读(877) 评论(0) 推荐(0) 编辑
摘要:123456789 123456789 0000000000 日期 123456789 1234560000000789 ----------- ----------- ----------- ----------- ----------- 123456789 123456789 0000000000 ... 阅读全文
posted @ 2018-08-02 16:29 enych 阅读(4946) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示