Tuesday, February 01, 2011
Gridview RowEditing checkbox value
4:32 PM |
Posted by
Sheen |
Edit Post
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
-
-
BDD with Rails and Cucumber10 years ago
-
-
Watch Live Cricket Online Free14 years ago
-
BBC and Mahinda Rajapakshe15 years ago
-
-
0 comments:
Post a Comment