Hello, I had encountered a problem, I desperately need its solution.
In my design, I have a gridview and an sql data source attached to it, along with that, I have an html table also.
html Table has 3 rows with each row having 3 columns. Each cell consists of textboxes i.e.,
First row has textbox1, textbox2, textbox3. In the same way,
Second row has textbox4, textbox5, textbox6 likewise the same in third row textbox7,8,9....
For gridview, i have a select ommand on each row.
For binding data from gridview to 1st row of html table, we write
TextBox1.Text = GridView1.SelectedRow.Cells[1].Text;
TextBox2.Text = GridView1.SelectedRow.Cells[2].Text;
TextBox3.Text = GridView1.SelectedRow.Cells[3].Text;
The above code works good but after that if I need to bind data to second row of the table, how should I do it?