FIELD NULL VALUE

  • Thread starter Thread starter Morten Wennevik
  • Start date Start date
M

Morten Wennevik

Hi,

Check if the value == DBNull.Value

Happy coding!
Morten Wennevik [C# MVP]
 
Hi,

I am in doubt to give a serious answer because you cross posted so much that
it looks as a troll, it is better to post to the right groups, then we know
also more of your question.
Hello.
How can I check if DataSet field value is Null?

In VB.net it is

if myfield Is dbnull.value then

I hope this helps anyhow.

Cor
 
Hello.
How can I check if DataSet field value is Null?
 
* "msnews.microsoft.com said:
How can I check if DataSet field value is Null?

0 percent relation to Visual Basic .NET controls, please post only to
groups which are related to the topic!

\\\
If foo Is DBNull.Value Then
...
End If
///
 
It don't works

Cor Ligthert said:
Hi,

I am in doubt to give a serious answer because you cross posted so much that
it looks as a troll, it is better to post to the right groups, then we know
also more of your question.


In VB.net it is

if myfield Is dbnull.value then

I hope this helps anyhow.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

null error 3
Handling DBNull from databases 6
How to assign DBNull to a SQL field? 4
Bind a date null to textbox 1
about null values 8
Text File 2
Application Time out 8
String and null vs DBNULL 7

Back
Top