2
Answers

How to add a new row inside the grid view

Santosh Kumar

Santosh Kumar

11y
4.3k
1

I have an ASP .net grid view. It has some template columns like a command button,two labels. When I click the command button, a new row needs to be inserted below the current row (from where I hit the command button).

If I have rows 1 and 2 and I hit the command button in row1 a new row needs to be inserted between rows 1 and 2

Now in the new row I should be able to  enter some values into the text boxes and finally hit my save button.


Please let me know how to do it.

Answers (2)