Results 1 to 5 of 5

Thread: Calculate and Display values from Database

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2009
    Posts
    21

    Calculate and Display values from Database

    Hi everyone,
    Any advice would be greatly appreciated
    Blank controls representing sections I need help with:

    Question: How to display/calculate matching values to text boxes in (Service Details Group) and transfer/calculate it all to Rich Text Box (TOTAL $)
    Attached Files Attached Files

  2. #2
    Hyperactive Member nagasrikanth's Avatar
    Join Date
    Nov 2004
    Location
    India,Hyderabad.
    Posts
    420

    Re: Calculate and Display values from Database

    Not so clear.. a wage idea was coming like, you want to take sums/avg/counts of different columns of a table based on the value of a dropdown list. Is it ??

    Well.. If it is the case, its pretty straight forward. Query the database with selected information.
    What is the exact "advice" you required. How far you have done ??

    Can you detail a bit more ??
    The Difference between a Successful person and others is not a Lack of Knowledge,
    But rather a Lack of WILL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2009
    Posts
    21

    Re: Calculate and Display values from Database

    Hi nagasrikanth,

    thanks for showing interest for my post, yes you are right I'm trying to calculate and display values from the same row to my Group Box (Service Details). Next step would be to sum up these values and to display them in Rich Text Box.

    I am newbie to programming and I need a kick start on how to approach this, I do not look for someone to solve code for me push into right direction would be great.

  4. #4
    Hyperactive Member nagasrikanth's Avatar
    Join Date
    Nov 2004
    Location
    India,Hyderabad.
    Posts
    420

    Re: Calculate and Display values from Database

    Just google on Connecting and retrieving data from Database using VB.NEt/C#..
    You can get lot of examples (In this forums, code bank also you have a lot)..

    Sorry.. not in a position to google and give you the correct links.. but a suggestion.. As it was lookng like a windows app, simply retrieve the data from server and do the calculations at client end.. it will fasters your app as well as increases server performance..
    The Difference between a Successful person and others is not a Lack of Knowledge,
    But rather a Lack of WILL

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 2009
    Posts
    21

    Re: Calculate and Display values from Database

    Hi nagasrikanth

    thanks now I got starting point and can do some digging.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width