Glowworm27
Programmer
Hello all
I have a dataset, and I need to know if a Column(field) exists in the dataset before I try to get data from it.
I get an error that column "estnum" does not exists in the dataset.
I dont want the user to get an error if they don't have that column in thier database.
George Oakes
Check out this awsome .Net Resource!
I have a dataset, and I need to know if a Column(field) exists in the dataset before I try to get data from it.
Code:
If dsMyDataset.tables(0).Rows(0).Item("estNum") <> 0 Then
bIsBFRCREcord = True
End if
I get an error that column "estnum" does not exists in the dataset.
I dont want the user to get an error if they don't have that column in thier database.
George Oakes
Check out this awsome .Net Resource!