摘要: public string NoHtml(string html) { string StrNohtml = System.Text.RegularExpressions.Regex.Replace(html, "]+>", ""); StrNohtml = System.Text.RegularExpressions.Regex.Replace(S... 阅读全文
posted @ 2019-07-26 15:26 敌八哥 阅读(1620) 评论(0) 推荐(0)
摘要: SELECT STUFF(( SELECT ',' + 需要操作的字段名 FROM 表名 WHERE 条件 FOR XML PATH('')), 1, 1, '') AS Name 阅读全文
posted @ 2019-04-16 14:14 敌八哥 阅读(430) 评论(0) 推荐(0)
摘要: 转: https://www.itsvse.com/thread-7346-1-1.html?tdsourcetag=s_pctim_aiomsg 阅读全文
posted @ 2019-04-01 08:59 敌八哥 阅读(190) 评论(0) 推荐(0)
摘要: var ddlQua = parent.window.frames["orgMainFrame"].document.getElementById("ddlQua").value; 阅读全文
posted @ 2019-03-26 10:06 敌八哥 阅读(569) 评论(0) 推荐(0)
摘要: var myChart = echarts.init(document.getElementById('divChartHous'), 'macarons'); myChart.setOption({ title: { text: '家庭数量占比图', x: '... 阅读全文
posted @ 2019-03-25 11:43 敌八哥 阅读(1462) 评论(0) 推荐(0)
摘要: vs2008,winfrom中的webbrowser 其内核默认为IE7,当网页中存在IE7不支持的属性时回报错。 阅读全文
posted @ 2019-01-24 09:29 敌八哥 阅读(312) 评论(0) 推荐(0)
摘要: 事物的简单应该 转自:https://www.cnblogs.com/hgmyz/p/6490288.html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 sql1="INSERT INTO tablename(Id,col1,col2 阅读全文
posted @ 2018-12-06 11:19 敌八哥 阅读(670) 评论(0) 推荐(0)
摘要: //导出excel public void CreateExcel(DataTable dt, string FileName, string InvType) { Response.Clear(); Response.Charset = "UTF-8"; Response.Buffer = true; Respo... 阅读全文
posted @ 2018-11-13 15:45 敌八哥 阅读(174) 评论(0) 推荐(0)
摘要: 1、 原因: 如果使用 Response.End、Response.Redirect 或 Server.Transfer 方法,将出现 ThreadAbortException 异常。您可以使用 try-catch 语句捕获此异常。Response.End 方法终止页的执行,并将此执行切换到应用程序 阅读全文
posted @ 2018-11-13 11:18 敌八哥 阅读(203) 评论(0) 推荐(0)
摘要: 1 XmlDocument doc = new XmlDocument(); 2 doc.Load(path); 3 string strXml = doc.InnerXml; 4 XmlNode node = doc.SelectSingleNode("data"... 阅读全文
posted @ 2018-11-07 09:30 敌八哥 阅读(223) 评论(0) 推荐(0)