Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if row element is DBNull
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00938476
Message ID:
00938490
Vues:
15
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform