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,
Reply With Quote