testing null value in vb

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi,
How can I test if one of the cells in my datagrid has a null value ? I
know how to access the content of a cell but dunno how to determine if
its null or not...
thx
 
Sam said:
How can I test if one of the cells in my datagrid has a null value ? I
know how to access the content of a cell but dunno how to determine if
its null or not...

\\\
If x Is DBNull.Value Then
...
End If
///
 

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

Back
Top