摘要: 今天需要将DataTable中的数据转换成string格式的,经查证下面的这个方法可以实现该功能,一老外写的,分享下 public static string convertDataTableToString(DataTable dataTable) { string data = string.Empty; for (int i = 0; i < dataTable.Rows.Count; i++) { DataRow row = dataTable.Rows[i]; for (int j = 0; ... 阅读全文
posted @ 2012-11-04 23:18 peace-lee 阅读(1103) 评论(1) 推荐(2)