Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Send the checked Rows of dataGridview columns data To DB
ABHI HBK
11y
1.6k
1
Reply
//on button click
foreach (GridViewRow row in GridView1.Rows)
{
CheckBox chk = row.Cells[0].FindControl("chkSelect");
if (chk != null && chk.Checked)
{
//insert into table1 values('" + row.Cells[0].text + "' ,'" + row.Cells[1].text + "' )
}
}
Here Is The code written for GridView with CheckBox in C# web application_
But i want to perform this Task In Windows Application in c#_
Help Me_
TO Complete This Task_
Thank you_
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
DataReader not working, get duplicates
List saving only last record-duplicates