Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Elusive DataSet
Message
 
 
To
30/04/2008 10:12:45
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01314012
Message ID:
01314182
Views:
9
>>>The help file says that Columns is a collection
>>>
>>>see: http://msdn.microsoft.com/en-us/library/system.data.datacolumncollection.contains(VS.71).aspx
>>
>>Thanks again. I should have checked the link first.
>
>I thought you wanted to check first whether the column existed in order to void the error on the remove

I wanted to figure out why the column didn't exist, since it should, but as a defensive measure I also added this check (changed to Contains right now - yesterday was using !=null instead - and this is after I already read 4 chapters in C# book :()

Anyway, thanks a lot again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform