posted @ 2020-05-23 16:27 杭州丑八怪 阅读(341) 评论(0) 推荐(0) 编辑
摘要:
private void btn_Out_Click(object sender, EventArgs e) { string fileName = ""; string saveFileName = ""; SaveFileDialog saveDialog = new SaveFileDialo 阅读全文
摘要:
/// <summary> /// 将excel导入到datatable /// </summary> /// <param name="filePath">excel路径</param> /// <param name="isColumnName">第一行是否是列名</param> /// <re 阅读全文
posted @ 2020-03-05 13:07 杭州丑八怪 阅读(599) 评论(0) 推荐(0) 编辑
摘要:
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 杭州丑八怪 阅读(816) 评论(0) 推荐(0) 编辑
摘要:
onerror="this.style.display='none'" onerror="this.src='default.JPG'" 阅读全文
posted @ 2018-09-25 16:47 杭州丑八怪 阅读(647) 评论(0) 推荐(0) 编辑
摘要:
nuget下载HttpClient, 引用using System.Net.Http; 阅读全文
posted @ 2018-09-20 10:44 杭州丑八怪 阅读(125) 评论(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 杭州丑八怪 阅读(75) 评论(0) 推荐(0) 编辑
摘要:
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 杭州丑八怪 阅读(153) 评论(0) 推荐(0) 编辑