Tuesday, February 01, 2011
Gridview RowEditing checkbox value
We know if we have manually binds the data then, we can access the checkbox or what ever the control by it's id.
as follows
CheckBox ck = (CheckBox)GridView1.Rows[e.NewEditIndex].Cells[8].FindControl("yourCheckBoxControl");
What if you auto bided the data to a gridview,
CheckBox ck = (CheckBox)GridView1.Rows[e.NewEditIndex].Cells[8].Controls[0];
Subscribe to:
Post Comments (Atom)
Blog Archive
Important Blogs
-
-
-
Loosing can become a painful habit6 months ago
-
Window Close Event of Browser7 months ago
-
-
-
Watch Live Cricket Online Free1 year ago
0 comments:
Post a Comment