判断datatable里是否存在某个字段

 

ds.Tables[0].Columns.Contains("列名")

posted @ 2019-09-28 15:31  剑存古风  阅读(1316)  评论(0编辑  收藏  举报