03 2018 档案

摘要:运行 dism.exe /online /enable-feature /featurename:NetFX3 /Source:I:\sources\sxs 阅读全文
posted @ 2018-03-31 09:12 enych 阅读(170) 评论(0) 推荐(0) 编辑
摘要://错误 console.log($("#DictID").select.val()); //错误 console.log($("#DictID").select.value()); //错误 console.log($("#DictID").value()); //正确 console.lo... 阅读全文
posted @ 2018-03-29 16:35 enych 阅读(212) 评论(0) 推荐(0) 编辑
摘要:页面加载顺序 先加载 阅读全文
posted @ 2018-03-29 09:51 enych 阅读(306) 评论(0) 推荐(0) 编辑
摘要:后台代码 阅读全文
posted @ 2018-03-24 11:51 enych 阅读(1648) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <style type="text/css"> #preview, .img, img { width 阅读全文
posted @ 2018-03-23 16:39 enych 阅读(249) 评论(0) 推荐(0) 编辑
摘要:<span contenteditable="true">11111111111111111</span> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ 阅读全文
posted @ 2018-03-19 15:07 enych 阅读(5130) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-15 15:31 enych 阅读(423) 评论(0) 推荐(0) 编辑
摘要:这样能请求home下的updateA函数 这样能请求home下的update函数,不能请求updateA函数 阅读全文
posted @ 2018-03-14 10:23 enych 阅读(139) 评论(0) 推荐(0) 编辑
摘要:C#的split函数分割 var words = strs.Split((string[])strlist, StringSplitOptions.RemoveEmptyEntries); 阅读全文
posted @ 2018-03-11 12:01 enych 阅读(3657) 评论(0) 推荐(0) 编辑
摘要:select COUNT(*) from ( select ID,H1 AS Value from Table_1 union all select ID,H2 from Table_1 union all select ID,H3 from Table_1 union all select ID,H4 from Table_1 union all... 阅读全文
posted @ 2018-03-08 16:43 enych 阅读(1715) 评论(0) 推荐(0) 编辑
摘要:#region 加载数据到DataGraidView private void button1_Click(object sender, EventArgs e) { string excelPath = textBox1.Text.Trim(); //string excelPath = "测试.xlsx"; /... 阅读全文
posted @ 2018-03-07 15:51 enych 阅读(861) 评论(0) 推荐(0) 编辑
摘要:字段名 说明 类型 DictID 字典id Int ParentID 父ID Int DictType 字典类型 Nvarhcar50 DictValue 字典值 Nvarhcar50 Remark 备注 Nvarhcar1000 CreateUserID 创建用户id Int CreateTime 阅读全文
posted @ 2018-03-07 15:26 enych 阅读(116) 评论(0) 推荐(0) 编辑
摘要:[HttpPost] public ActionResult Layedit() { var files = Request.Files; //获得所上传的所有文件 if (files.Count > 0) { HttpPostedFileBase fil... 阅读全文
posted @ 2018-03-07 15:16 enych 阅读(287) 评论(0) 推荐(0) 编辑
摘要:dt = new DataTable(); dt.Columns.Add("a"); dt.Columns.Add("b"); dt.Rows.Add(1); object[] iis = new object[2]; iis[0] = 1; iis[1] = 2; dt.Rows.Add(iis) 阅读全文
posted @ 2018-03-07 15:11 enych 阅读(3714) 评论(0) 推荐(1) 编辑
摘要:使用 return Json(pageList, JsonRequestBehavior.AllowGet); 返回object 使用 return Content(JsonConvert.SerializeObject(pageList, timeConverter)); //返回json字符串 阅读全文
posted @ 2018-03-07 15:05 enych 阅读(277) 评论(0) 推荐(0) 编辑
摘要:var filename = ""; //去掉扩展名 if (file.FileName.LastIndexOf(".") != -1) { filename = file.FileName.Substring(0, file.FileName.LastIndexOf(".")); } else { 阅读全文
posted @ 2018-03-07 15:00 enych 阅读(2943) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-07 14:42 enych 阅读(444) 评论(0) 推荐(0) 编辑
摘要:public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string str1,str 阅读全文
posted @ 2018-03-07 13:49 enych 阅读(785) 评论(0) 推荐(0) 编辑
摘要:select @PageSize * from tets SELECT 在WHERE 之前都不能参数化. TOP 只能做字符串运行. 阅读全文
posted @ 2018-03-07 09:08 enych 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-05 22:18 enych 阅读(277) 评论(0) 推荐(0) 编辑
摘要:来自 dqsweet 阅读全文
posted @ 2018-03-05 20:48 enych 阅读(596) 评论(0) 推荐(0) 编辑
摘要:<!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <script src="jquery.min.js"></script> <style> ul{ list-style:none; } </style 阅读全文
posted @ 2018-03-05 15:35 enych 阅读(1151) 评论(0) 推荐(0) 编辑
摘要:/a/ 匹配字符a /1/匹配数字1 /abc/ 匹配字符串abc /\*/匹配* /\(/匹配( 特殊字符要用\字符 在正则表达式中这些特殊字符 ! $ ^ * | . ? \ / ( ) [ ] { } \o null字符 \t 制表符 \n 换行符 \v 垂直制表符 \f 换页符 \r 回车符 阅读全文
posted @ 2018-03-04 19:39 enych 阅读(156) 评论(0) 推荐(0) 编辑
摘要:对象虽然与数组一样,都是数据的集合。 因为对象中的数据是处于无序状态,不能像数组那样,使用下标来遍历对象的所有属性。 如果要遍历对象属性,就必须要使用for in 语句。 var a={ A1=1800, A2="string", A3=17 }; for(var obj in a){ alter( 阅读全文
posted @ 2018-03-04 18:01 enych 阅读(366) 评论(0) 推荐(0) 编辑

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