Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

GridView - how do I dynamically add a new row

Posted on 2012-04-02
1
Medium Priority
?
368 Views
Last Modified: 2012-05-02
Hi

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 :-).
GridView.txt
0
Comment
Question by:Lorna70
1 Comment
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 750 total points
ID: 37797827
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question