Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verifying for the presence of a column in datarow
Message
De
22/11/2011 17:12:50
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Verifying for the presence of a column in datarow
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01529614
Message ID:
01529614
Vues:
57
This code does not work to verify if a column is present in a datarow:
If Not oRow("MyField") Is Nothing

End If
While Is Nothing seems to work pretty much everywhere, to decect if a particular column exists in a datarow, it cannot be used. Anyone would know the proper syntax?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform