摘要:
/// <summary> /// 过滤特殊字符 /// </summary> /// <param name="s"></param> /// <returns></returns> public static string String2Json(String s) { StringBuilde 阅读全文
摘要:
Create table Student ( Id int primary key identity, KM varchar(50), Name varchar(52), Score int ) select * from student 列转行 /*SELECT [姓名], max(CASE 课程 阅读全文
摘要:
/// <summary> /// Datatable转换为Json /// </summary> /// <param name="table">Datatable对象</param> /// <returns>Json字符串</returns> public static string ToJs 阅读全文
摘要:
public static DataTable ToDataTable<T>(this IEnumerable<T> varlist) { DataTable dtReturn = new DataTable(); // column names PropertyInfo[] oProps = nu 阅读全文
摘要:
/// <summary> /// 将List转化为String /// </summary> /// <param name="Lists"></param> /// <param name="ch"></param> /// <returns></returns> public static s 阅读全文
摘要:
public string StripHT(string strHtml) //从html中提取纯文本 { Regex regex = new Regex("<.+?>", RegexOptions.IgnoreCase); string strOutput = regex.Replace(strH 阅读全文