Click here to Skip to main content
15,883,889 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If we have two different tables say table1 and table2. Both tables have 1 row, 5 columns each(each column has five textboxes naming from textbox1 to textbox5 for table1 and textbox6 to textbox10 for table2).
I placed those tables one by one i.e, first table1 as 1 row then table2 as 2nd row.
At first instance, For binding data from gridview (on select command) to table1, we write TextBox1.Text = GridView1.SelectedRow.Cells[1].Text;
TextBox2.Text = GridView1.SelectedRow.Cells[2].Text; etc. . then at next 2nd row i.e., we have table2. How can I insert data in that from gridview?
Posted
Comments
Think On 1-Nov-12 10:03am    
Didnt understand the requirement clearly. can you explain or can you show the sample form structure you want

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900