You must Sign In to post a response.
  • Category: Windows

    How to Show Running Total in Datagridview

    Hi

    Experts

    In the Windows application Datagridview control how to show the Footer total then when i change the cell i need recalculate the footer cell how will do this

    only window application no need web application.

    I have attached Image Give below. any one fixed this issue.
  • #761845
    Hi

    I have attached Image given below check and solve them.

    Name : Dotnet Developer-2015
    Email Id :kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

    Delete Attachment

  • #761853
    Hi Jayakumar.

    When you changed second row value it worked fine, then why it is not working for third row?
    In which event have you written the code for calculating total?
    Can you post the part of code which will be easy for us to understand.

    Regards

    Sridhar Thota.

    Sridhar Thota.
    Editor: DNS Forum.

  • #761855
    Hi,

    When you did the action in Row position 1 it's working fine, and it is not working when you perform action in Row position 2 then obviously it is a problem in Index, my suggestion is better to put a break point and check the lines of code, if possible please share your piece of code, so that we will review in the mean time and let you know if we found any solution.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #761865
    Hi
    Sridhar

    Can you think like a user . user enter any cell my issue is when i enter above footer row i face this issue

    first row working means no need checking remaining cell? my requirement any cell i go to modify then i need calculation the footer row.


    My code is CellEndEdit event.

    Name : Dotnet Developer-2015
    Email Id :kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #761867
    Hello Jayakumar.

    I expressed my doubt as how come second row working why not third row.
    It doesn't mean that don't check all rows.
    Why you people will get embarrassed?

    Regards

    Sridhar Thota.

    Sridhar Thota.
    Editor: DNS Forum.


Sign In to post your comments