I have been battling with this problem for months with virtually no success.
I am using Visual Studio 2008 Professional. The database is Microsoft SQL 2005.
I have an unbound datagridview with two combo boxes – both bound to database tables. These are:
Combo box 1 is for “VAT” and is bound to the VAT table. This table has 3 columns configured as shown below:
ID VAT Code VAT...
User Profile
Collapse
-
Placing Value Member of a combo box in the Display Member of another
I have been battling with this problem for months with virtually no success.
I am using Visual Studio 2008 Professional. The database is Microsoft SQL 2005.
I have an unbound datagridview with two combo boxes – both bound to database tables. These are:
Combo box 1 is for “VAT” and is bound to the VAT table. This table has 3 columns configured as shown below:
ID VAT Code VAT... -
Hi Rome'
As I do not know how you have constructed your database, may I suggest you look at the set of turorials made by Beth Massi of Microsoft. The entire set are available for download here: http://archive.msdn.microsoft.com/vb...x?ReleaseId=16
In these videos she shows you how to create databases and datagrdviews directly from a datasets but not how to perform calculations. When... -
Hi Again,
My previous post allows you to enter the required numbers into the datagridview at run time and click on a button "Button1" to do the calculations.
MikeLast edited by Mike Newman; Jan 9 '12, 06:58 PM. Reason: The second sentence does not work when parsing cellsLeave a comment:
-
Hi,
I have just seen your request for help. I hope you still log in to see if you have had a response.
You have not said if your datagridview is data bound or not. As you are still learning, I have assumed that it is not data bound.
One thing to remember is that the datagridview rows and columns are zero based when naming them so they do not start at "1" but "0".
Here...Leave a comment:
No activity results to display
Show More
Leave a comment: