charan sekhar

charan sekhar

  • NA
  • 108
  • 0

how to store multiple rows in a table from gridview

Apr 9 2010 8:00 AM

hi , iam using asp.net2.0 with c#

in my gridview iam at page load event iam displaying data from view.
my 1st column in the gridview is checkbox, when user selects the checkbox    and iam using paging in gridview, when user
selects the checkbox and selects the rows from first page or from any page, that have to be stored in database.

in my database the table contains 
orderid        int primary key  autoincrement
productname   nvarchar
price         nvarchar
quantity     nvarchar
total        nvarchar
 

when user selects the rows then in database  how to store multiple rows in that  table field
can you give an example which helps me.

Answers (2)