column null

  • Thread starter Thread starter juan
  • Start date Start date
foreach(DataRow dr in dataTable1)
{
if(dr["SomeColumn"] == DBNull.Value)
{
MessageBox.Show("Found a null entry in someColumn!")
}
}
 

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