I am reading an XML file into a DataSet and need to get the data out of the DataSet. Since it is a user-editable config file the fields may or may not be there. To handle missin
You can use DataSet.Tables(0).Columns.Contains(name) to check whether the DataTable contains a column with a particular name.
DataSet.Tables(0).Columns.Contains(name)
DataTable