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
Vivek Joy
NA
137
26.8k
CheckBox Selection
Sep 1 2015 6:59 AM
HI
My need is
i have a radcheckbox and rad grid.while selecting or ticking the checkbox it will select whole row and after i press update button that row should be updated .How can I do This?Can anyone Help Me?
I have to do this in C#
My code is this
for (int i = 0; i < DeleteGridView1.Rows.Count;i++)
{
String cguid = DeleteGridView1.Rows[i].Cells[1].Value.ToString();
SqlCommand cmd = new SqlCommand();
Program.StrSql = "update QbCompany set ActiveFlag = 0 Where CompanyGUID='"+ cguid + "'";
cmd.Connection = Program.QbSysDbCon;
cmd.CommandText = Program.StrSql;
cmd.ExecuteNonQuery();
}
Reply
Answers (
14
)
Time Out Problem Of Sqlcoonnection Pool
How to get average values using stored procedure