会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
enych
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
38
39
40
41
42
43
44
45
46
···
52
下一页
2018年3月14日
mvc关于pots请求 哪个函数 出现bug研究
摘要: 这样能请求home下的updateA函数 这样能请求home下的update函数,不能请求updateA函数
阅读全文
posted @ 2018-03-14 10:23 enych
阅读(147)
评论(0)
推荐(0)
2018年3月11日
C#的split函数分割
摘要: C#的split函数分割 var words = strs.Split((string[])strlist, StringSplitOptions.RemoveEmptyEntries);
阅读全文
posted @ 2018-03-11 12:01 enych
阅读(3664)
评论(0)
推荐(0)
2018年3月8日
sql 查询多列 小于某值
摘要: 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
阅读(1726)
评论(0)
推荐(0)
2018年3月7日
C#读取EXCEL 并输出到文本框
摘要: #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
阅读(876)
评论(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
阅读(126)
评论(0)
推荐(0)
MVC 接收文件
摘要: [HttpPost] public ActionResult Layedit() { var files = Request.Files; //获得所上传的所有文件 if (files.Count > 0) { HttpPostedFileBase fil...
阅读全文
posted @ 2018-03-07 15:16 enych
阅读(294)
评论(0)
推荐(0)
C# DataTable 转 json
摘要: 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
阅读(3734)
评论(0)
推荐(1)
MVC 返回json数据
摘要: 使用 return Json(pageList, JsonRequestBehavior.AllowGet); 返回object 使用 return Content(JsonConvert.SerializeObject(pageList, timeConverter)); //返回json字符串
阅读全文
posted @ 2018-03-07 15:05 enych
阅读(287)
评论(0)
推荐(0)
C# 获得指定路径扩展名 , 去除扩展名
摘要: var filename = ""; //去掉扩展名 if (file.FileName.LastIndexOf(".") != -1) { filename = file.FileName.Substring(0, file.FileName.LastIndexOf(".")); } else {
阅读全文
posted @ 2018-03-07 15:00 enych
阅读(3003)
评论(0)
推荐(0)
sql server 的 isnull 函数
摘要:
阅读全文
posted @ 2018-03-07 14:42 enych
阅读(450)
评论(0)
推荐(0)
上一页
1
···
38
39
40
41
42
43
44
45
46
···
52
下一页
公告