Hardik Patel

Hardik Patel

  • NA
  • 378
  • 468.3k

how to check null values in dataset?

Aug 17 2013 5:33 AM
how to check null values from dataset?

  if ((ds != null) && (ds.Tables.Count != 0) && (ds.Tables[0].Rows.Count != 0) && (ds.Tables[0].Rows!=null))

 i got a dataset from excel file

 dataset 
 1. hardik
 2.Mahesh
3. null
 4.null
5.rajesh

i want to find that 3rd and 4th rows from dataset


Answers (2)