Hi, I am already checked in my program that dataset is empty or not but my site sometime gives the exception message that Dataset is empty if i am reset IIS after that this message will not occur until 4-5 hours.
please provide appropriate solution to me.
Originally Posted by Memnoch
If DataSet.Tables(0).Rows(0).Item("FieldName") Is DBNull.Value Then
if (DataSet.Tables(0).Rows(0).Item["FieldName"] == DBNull.Value);