0
Hi Gohil,
Thanks for the reply..I am developing a windows application.
0
Hi,
if you use
TemplateField ASP checkbox then
OnCheckedChanged="chkStatus_OnCheckedChanged"
public void chkStatus_OnCheckedChanged(object sender, EventArgs e)
{
CheckBox chkStatus = (CheckBox)sender;
GridViewRow row = (GridViewRow)chkStatus.NamingContainer;
string cid = row.Cells[1].Text;
bool status = chkStatus.Checked;
}
For more information inline-editing-and-updating in gridview with check-box
http://www.c-sharpcorner.com/uploadfile/jayendra/inline-editing-and-updating-in-gridview-with-check-box/