By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,526 Members | 2,189 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,526 IT Pros & Developers. It's quick & easy.

FIELD NULL VALUE

P: n/a
Hello.
How can I check if DataSet field value is Null?
Nov 16 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi,

Check if the value == DBNull.Value

Happy coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2

P: n/a
"msnews.microsoft.com" <da*********@hotmail.com> schrieb
Hello.
How can I check if DataSet field value is Null?


Please post to the appropriate groups only!!
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 16 '05 #3

P: n/a
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
Nov 16 '05 #4

P: n/a
It don't works

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:Ot**************@TK2MSFTNGP09.phx.gbl...
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

Nov 16 '05 #5

P: n/a
Check out the IsNull() function.

-Ken

"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It don't works

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:Ot**************@TK2MSFTNGP09.phx.gbl...
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


Nov 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.