jemin patel

jemin patel

  • NA
  • 18
  • 2.5k

how to insert data from grideview to the database

Sep 19 2017 8:56 AM
I have two table 1 cart and 2 order info
 
1 cart table
 
a_id (primary key)
u_id (user_id) (foreign key)
d_id (desing id) (foreign key)
d_code
d_name
d_category
body_part
price
image (URl)
 
2 orderinfo
 
o_id (primary key)
d_id (foreign key)
u_id (foreign key)
o_code
o_name
o_category
o_part
o_price
o_date
image (URl)
status (Pending / completed)
 
above are the table as per the website
issue
i want to take the data from gridview to my orderinfo table.the gridview show the data from the cart table .as i click on button the data should be insert to the orderinfo table
i use asp.net with c# Language in visual studio 2010 and microsoft sql server2005

Answers (2)