G
Guest
Hi,
Is there a way to check if a column exists in a datarow before I try to
access it's data?
I am reading an Xml document into a DataSet which may or may not have the
data I want to display to the user in a textbox. The Xml document does not
have a schema so the DataSet creates it's structure from the information
present.
I don't really want to put try/catch blocks around each column, is there a
better way to do it?
Thanks,
Steve
Is there a way to check if a column exists in a datarow before I try to
access it's data?
I am reading an Xml document into a DataSet which may or may not have the
data I want to display to the user in a textbox. The Xml document does not
have a schema so the DataSet creates it's structure from the information
present.
I don't really want to put try/catch blocks around each column, is there a
better way to do it?
Thanks,
Steve