Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Elusive DataSet
Message
 
 
À
30/04/2008 10:12:45
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01314012
Message ID:
01314182
Vues:
10
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform