将List<T>转化成 DataTable--调整可空类型的转化错误
摘要:
加载表结构并保持成XMLView Code string cmdText = @"select * from kb_lable_temp where 1=2"; using (SqlConnection conn = new SqlConnection(DBCtx.ConnStr)) { DataTable dt = new DataTable(); SqlCommand cmd = new SqlCommand(c... 阅读全文
posted @ 2013-05-10 16:54 遗忘海岸 阅读(722) 评论(1) 推荐(1) 编辑