c# - what to check for when a datareader might not have a particular column? -
I am doing a redundancy test, but when I am doing, I'm getting an exception to the limit:
If (myReader ["column1"]! = Null) {}
under certain conditions that column will not exist, why not a redundant investigation doing work?
Check to see if the column already exists
For (int i = 0; i
Comments
Post a Comment