Welcome to Dream.In.Code
Become an Expert!

Join 150,417 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,059 people online right now. Registration is fast and FREE... Join Now!




GridView and checkbox

 
Reply to this topicStart new topic

GridView and checkbox, I already implemented checkbox in gridview but its always null

irshadvaza92
1 Apr, 2008 - 02:38 AM
Post #1

New D.I.C Head
*

Joined: 1 Apr, 2008
Posts: 1

for (int i = 0; i < GridView1.Rows.Count; i++)
{
GridViewRow row = GridView1.Rows[i];
bool isChecked = ((CheckBox)row.FindControl("CheckBox2")).Checked;


}
User is offlineProfile CardPM
+Quote Post

JasonMcAuley
RE: GridView And Checkbox
10 Apr, 2008 - 06:47 AM
Post #2

D.I.C Head
**

Joined: 10 Apr, 2008
Posts: 135



Thanked: 1 times
My Contributions
Can you post your front end code with your gridview declaration?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 08:14PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month