TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rowshan Ali
NA
64
142.6k
How to check all checkbox from gridview in asp.net.
Mar 31 2013 2:10 AM
hello dear i m in problem to check all checkbox by checking one checkbox like ...
Select all
select
buttonid
PageName
buttonname
Approv
True
1
abc1.aspx
Button1
True
2
abc1.aspx
Button2
False
3
abc2.aspx
False
4
abc2.aspx
please any body help me best regurds.
protected void CheckBox6_CheckedChanged(object sender, EventArgs e)
{
if (CheckBox6.Checked == true)
{
for (int i = 0; i <= GridView2.Rows.Count - 1; i++)
{
GridViewRow row = GridView2.Rows[i];
CheckBox Chbox = (CheckBox)row.FindControl("CheckBox7");
Chbox.Checked = true;
}
}
}
Reply
Answers (
3
)
How can I program (Find Window) in Notepad Application .
how to Draw a Ruler with inch & cm in C# or Asp.net