" End If End Sub Protected Sub grid View_Row Editing(By Val sender As Object, By Val e As Grid View Edit Event Args) grid View. New Edit Index load Stores() End Sub Protected Sub grid View_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) Dim stor_id As String = grid View. On the nested child gridview, when I click the edit button, the line goes into edit mode, but the parent row collapses.It is located in the Row Data Bound event of the parent gridview.I placed add button and in click event I added the following code. When I use to import(row1) it adds new row whenever I click on add button, but it also adding whatever existing rows plus new row, which I don't want to happen. You need to make sure you clear this session variable on the initial page load if not ispostback then session.clear() end if it might also help if you post the rest of your code behind. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo... Each time when I click on add button I wanted to add new row to gridview . In add_click event When you dynamically add rows, it loses those values on postback which happens on the click event. You could save your datatable in session and then add the session values as well as the new row on the click event. I wanted to add new empty row whenever I click on add button. Its doing the same thing even though I had session.clear in page load. But when click again it adds existing rows 1 previous empty row 1 new empty row. Public Add new controls to a gridview row; when editing that row using the edit row feature in the gridview control.