Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if row element is DBNull
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00938476
Message ID:
00938490
Views:
16
Thank you for the reply David. Your answer is correct but Kevin beat your answer by over one minute :)

Thanks for taking the time to answer my simple <s> question.

Einar

>if (oDS.Tables[0].Rows[0][3] == DBNull.Value)
>
>>How can I check if a row element is DBNull?
>>I know 0,3 is a DBNull:
>>
>>oDS.Tables[0].Rows[0][3].GetType().ToString()
>>
>>Is there a more elegant way to check if a row element is DBNull?
>>
>>Einar
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform