Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verifying for the presence of a column in datarow
Message
From
22/11/2011 17:12:50
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Verifying for the presence of a column in datarow
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01529614
Message ID:
01529614
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform