I have some code where I'm navigating round the gridview and at certain points, I need to be able to add a row with sub-totals. I think I'm nearly there as I know the code to create each new row but just don't know how to insert it into the GridView. Please see attached code. I did this before when I had 'Table tbl = (rowEvent.Row.Parent as Table);' but I had the parameters 'GridViewRowEventArgs rowEvent' then which I don't have now. If you look at my code, you'll see what I mean :-).