Home All Groups Group Topic Archive Search About

column names in a strongly typed dataset

Author
21 Feb 2006 4:20 PM
Sergey Zuyev
Is there a way to get the column  names in a strongly typed dataset. If I
have a dataset and want to set RowError to the name of the column without
hardcoding it. I want a compile time error if the name of the column does not
exist in the dataset.

If I have a column named emailaddress in Dataset adressDataset I want to do
something like this


adressRow.RowError = adressDataset.adressTable.emailaddress.columnname


--
Programmer

AddThis Social Bookmark Button