Solved

GridView - how do I dynamically add a new row

Posted on 2012-04-02
1
346 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

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

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

734 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