Hi Rocky
Cannot find table 0.is error occurs becouse ur dataset or datatables does'nt have any value at that time.
I think ur database has some problem ...i think u get value from database in to dataset and then you provide the value to some variable like
ds is datasetname
cmd=da.fill(ds);
int a=ds.tables[0].rows[0]["ID"].tostring();
use
if(ds.tables[0].rows.count !=0)
{
int a=ds.tables[0].rows[0]["ID"].tostring();
}
else
{
//print message
}
you see here in your dataset or datatable no rows found ...check it
it helps you...select as answer..