2020年5月23日

摘要: private void btn_Out_Click(object sender, EventArgs e) { string fileName = ""; string saveFileName = ""; SaveFileDialog saveDialog = new SaveFileDialo 阅读全文

posted @ 2020-05-23 16:27 杭州丑八怪 阅读(344) 评论(0) 推荐(0)

2020年3月5日

摘要: /// <summary> /// 将excel导入到datatable /// </summary> /// <param name="filePath">excel路径</param> /// <param name="isColumnName">第一行是否是列名</param> /// <re 阅读全文

posted @ 2020-03-05 13:07 杭州丑八怪 阅读(609) 评论(0) 推荐(0)

2020年1月17日

摘要: string json="{\"PersonID\":\"1,2,3,4,5\"}"; JObject json2 = (JObject)JsonConvert.DeserializeObject(JsonPList2); List<string> PersonList2 = new List<st 阅读全文

posted @ 2020-01-17 10:04 杭州丑八怪 阅读(833) 评论(0) 推荐(0)

2018年9月25日

摘要: onerror="this.style.display='none'" onerror="this.src='default.JPG'" 阅读全文

posted @ 2018-09-25 16:47 杭州丑八怪 阅读(667) 评论(0) 推荐(0)

2018年9月20日

摘要: nuget下载HttpClient, 引用using System.Net.Http; 阅读全文

posted @ 2018-09-20 10:44 杭州丑八怪 阅读(130) 评论(0) 推荐(0)

摘要: using System.Text.RegularExpressions; string str="aaajsbbbjsccc"; string[] sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase); foreach (string i in 阅读全文

posted @ 2018-09-20 10:43 杭州丑八怪 阅读(80) 评论(0) 推荐(0)

2018年8月8日

摘要: using System; using System.Collections; using System.Collections.Specialized; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Data.Common; using System.Collec... 阅读全文

posted @ 2018-08-08 11:16 杭州丑八怪 阅读(157) 评论(0) 推荐(0)

摘要: 读取连接字符串: config: 修改方法: 阅读全文

posted @ 2018-08-08 11:15 杭州丑八怪 阅读(63) 评论(0) 推荐(0)

摘要: var jsonStr = " { a:1,b:2,c:3 }"; var jsonObj = eval(jsonStr); alert(jsonObj.a) 阅读全文

posted @ 2018-08-08 11:10 杭州丑八怪 阅读(52) 评论(0) 推荐(0)

2018年8月7日

摘要: 前端html 前端JS: 后端代码: 阅读全文

posted @ 2018-08-07 14:10 杭州丑八怪 阅读(185) 评论(0) 推荐(0)