locked
EXPORT to MS ACCESS 2003 RRS feed

  • Question

  • User-1864751626 posted

     

    Hi, I have created a web page in VISUAL STUDIO 2005 ASP.NET which Browse for csv File and DISPLAY in GRIDVIEW. Now I have created check box control for the GRID VIEW. What i need is I want to save the selected Rows of GRIDVIEW in MS ACCESS 2003 DATABASE. I am working in VISUAL STUDIO 2005 with C# programming.
    Wednesday, April 15, 2009 1:59 AM

Answers

  • User-821857111 posted

    foreach (GridViewRow gvr in GridView1.Rows)
    {
    CheckBox chk = (CheckBox)gvr.FindControl("<yourCheckBoxID>");
    if (chk.Checked)
      {
        //Insert into Access
      }
    }

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 15, 2009 2:16 AM