Insert multiple rows into database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • takallen
    New Member
    • Jul 2007
    • 2

    Insert multiple rows into database

    Hello,
    I am designing a web page that is to be used as a data entry form.
    Each row contains 50 columns, and the web page will display
    about 25 rows. To save some time from creating so many
    textboxes and rows in an html table, I decided to do so in a gridview;
    however, I'm not sure if this is even possible. What I wish to do is:
    1) upon Page_Load, display the gridview in insert mode; 2)once the
    user has input all the data into the gridview, validate each row and
    alert user to ALL errors; 3) if validation is successful, loop through
    each row and add the row to the database. Is anyone familiar with
    this? If so, would you give me some informations on how to accomplish
    this? Also, please give as many details as you possibly can for I am a
    newbie to ASP.NET.
Working...