摘要:
/// /// 过滤掉html标签/// /// /// public static string RemoveHTML(string htmlstring){//删除脚本htmlstring = Regex.Replace(htmlstring, @"", "", RegexOptions.Ign... 阅读全文
posted @ 2015-05-06 15:03
雪原日暮
阅读(370)
评论(0)
推荐(0)
摘要:
#region ParseToJson public static string ParseToJson(DataTable dt) { StringBuilder JsonString = new StringBuilder(); ... 阅读全文
posted @ 2015-05-06 15:02
雪原日暮
阅读(168)
评论(0)
推荐(0)
摘要:
/// /// 转换字符串格式,可用于sql in /// /// /// public static string ParseToSQLIn(string lst) { Strin... 阅读全文
posted @ 2015-05-06 15:01
雪原日暮
阅读(702)
评论(0)
推荐(0)
摘要:
/// /// 取出文本中的图片地址 /// /// HTMLStr public static string GetImgUr_l(string HTMLStr) {... 阅读全文
posted @ 2015-05-06 15:00
雪原日暮
阅读(159)
评论(0)
推荐(0)
摘要:
/// /// 导出 /// /// 数据表 /// 工作簿名称 /// 报表名称 public static void Output(DataTable table, string SheetName, string reportName) { ... 阅读全文
posted @ 2015-05-06 14:59
雪原日暮
阅读(174)
评论(0)
推荐(0)
摘要:
/// /// Get方法 /// /// url地址 /// 数据 格式为"aa=xx&bb=xxx" /// 请求结果 public static string HttpGetConnectT... 阅读全文
posted @ 2015-05-06 14:58
雪原日暮
阅读(140)
评论(0)
推荐(0)
摘要:
/// /// C#反序列化JSON /// /// 返回类型 /// JSON字符串 /// public static T JsonDeserialize(string strJson) {... 阅读全文
posted @ 2015-05-06 14:57
雪原日暮
阅读(123)
评论(0)
推荐(0)
摘要:
protected void btnUpload_Click(object sender, EventArgs e) { Button FU = (Button)sender; //文件保存目录路径 string sa... 阅读全文
posted @ 2015-05-06 14:55
雪原日暮
阅读(244)
评论(0)
推荐(0)