使用 DataTable.Columns.Contains方法可以判断某个列名是否存在于某个DataTable中 DataTable t = new DataTable(); DataColumn col = new DataColumn( " aaa " ); t.Columns.Add(col); col = new DataColumn( " bbb " ); t.Columns.Add(col); col = new DataColumn( " c " ); t.Columns.Add(col); bool b = t.Columns.Contains( " bbb " );