Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB.NET and the Null blues
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
VB.NET and the Null blues
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01168077
Message ID:
01168077
Views:
55
I have data from and excel file in a datatable dt.
I know the start of my real data is the header "Resp". I have a few blank lines that come across as System.dbnull

What is wrong with this if line, that it barfs on a System.dbnull value?

If (dr(0) = "Resp" & Not IsDBNull(dr(0))) Then Exit For


TIA

__Stephen
Next
Reply
Map
View

Click here to load this message in the networking platform