Re: Checkboxes in a datagrid
- From: "arun@xxxxxxxxxxxxx" <arun@xxxxxxxxxx>
- Date: 4 Jan 2007 06:08:35 -0800
Now I can access the DataKeyNames by the following code
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
CheckBox checkbox = (CheckBox)sender;
GridViewRow row = (GridViewRow)checkbox.NamingContainer;
Response.Write(row.Cells[0].Text);
}
But I have kept the 0th column visible=false. Then I cant get it by the
above code. Is there any solution for this
.
- References:
- Checkboxes in a datagrid
- From: arun@xxxxxxxxxxxxx
- Checkboxes in a datagrid
- Prev by Date: Re: Best practice Multiuser Program - locking
- Next by Date: Re: Best practice Multiuser Program - locking
- Previous by thread: Checkboxes in a datagrid
- Next by thread: Re: ADO.NET Beginner: error connecting to DB2
- Index(es):