ABHI  HBK

ABHI HBK

  • NA
  • 3
  • 1.8k

Send the checked Rows of dataGridview columns data To DB

Mar 15 2013 3:54 PM
//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_ Smile | :) 
TO Complete This Task_

Thank you_

Answers (2)