thanks for reply
I have tried like that
Chkwithdrawn.Checked =ds.Tables[0].Rows[i][15].ToString();
but it still not working .It gives the error" cannot implicitly convert object to bool"
tell how to remove this error.
Hi...
u r gettin error b'coz Checked property of d checkbox has to b assigned a boolean value...true or false only...
so u will have 2 convert d data retrieved frm database into bool type...
OR
if it can't b converted, use a boolean flag variable to hold true or false based on
the data retrieved frm d database...for that, first retrieve d data value frm database and check it's value inorder to assign value to d boolean flag....
hope this helps,
thanx and rgrds
sand...