Convert DataTable to String by Extension Method - CodeProject

Convert DataTable to String by Extension Method - CodeProject

瀏覽:525
日期:2024-07-15
Following might be another way to do the job:public static string ConvertDataTableToString(this DataTable dt){ StringBuilder stringBuilder = new StringBuilder(); dt.Rows.Cast().ToList().ForEach(dataRow => { ...; Author: Mohammad A Rahman; Updated: 30 ......看更多