1 Attachment(s)
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 $)
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 ??
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.
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..
Re: Calculate and Display values from Database
Hi nagasrikanth
thanks now I got starting point and can do some digging.