I have one scenario where the gridview has 2 rows like what i have attached.
Gridview having data as like I have mentioned in the file.
COLUMN 3 to COLUMN 6 having texbox where the values are entered by the user
COLUMN 1 and COLUMN 2 of ROW 1 and ROW 2 will have the same value as mentioned.
I need to know how to add a new row in the grid if the button is clicked
And the entered value should not get affected. It should be present.
The new row should be added with COLUMN1 and COLUMN 2 having same name as that of the ROW 1 and ROW 2
Even if the user clicks again the button the old rows should not get affected.
Gridview having data as like I have mentioned in the file.
COLUMN 3 to COLUMN 6 having texbox where the values are entered by the user
COLUMN 1 and COLUMN 2 of ROW 1 and ROW 2 will have the same value as mentioned.
I need to know how to add a new row in the grid if the button is clicked
And the entered value should not get affected. It should be present.
The new row should be added with COLUMN1 and COLUMN 2 having same name as that of the ROW 1 and ROW 2
Even if the user clicks again the button the old rows should not get affected.