Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing if a Command return Nothing
Message
From
26/10/2007 16:59:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Testing if a Command return Nothing
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01264340
Message ID:
01264340
Views:
52
Is there a graceful way of modifying the following line of code to test if the Command returns Nothing (besides catching the Exception thrown)?
result = cmd.ExecuteScalar().ToString
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform