How to check whether a datatable contains one column Header as “Name” using Datatable methods( example dt.select)
How to check whether a datatable contains one column Header as “Name” using Datatable methods( example dt.select)
Assign this to a Boolean:
DataRow.Table.Columns.Contains("Name")