| Author: ANIL PANDEY 05 Sep 2008 | Member Level: Diamond | Rating: Points: 3 |
i think u are facing this problem because, the data set which u r passing after featching the data from the data base is coming as null,
means either there is no records or the records are not coming Properly.. Better u check the wuery again and check that weather or not the data is ZComing t the data set or not. u can use the DTA SET like this
Dataset ds = new DataSet();
ds = execute datatset//
if(ds.Tables[0].Count>0) { //Process } else
{ //No data Found...... } hope u got the idea...
Regards, Anil Kumar
|