Santosh Kumar

Santosh Kumar

  • NA
  • 126
  • 60.3k

How to add a new row inside the grid view

Apr 30 2013 2:10 AM

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)