Hi,
I am a bit confused here. I am designing a form for data editing. To accomplish this I used the standard DBgridView, BindingNavigator, TableAdabter, and DataSet by draging the table from the DataSources bar onto the form.
Pls find the details of my tables:
Tabel A:
Employee ID
Employee Name
Employee Ext
Table B:
Employee ID
Employee Salary
I am also using StronglyTyped DataSet. All queries and tables adapters are in a single XSD file. Also the binding navigator is binding to Table A.
Now what I need help with please is, how can I add the column
(Employee Salary) in a combo box in the DataGridView form. I can write an (Inner Join) query but the thing is I do not know where to place it to make the Combo box a lookup column, while committing the value of the matching (Employee ID) based on the user input. !!
Thanks
Leedo
PS: I am using VS 2005. (VB)
I am a bit confused here. I am designing a form for data editing. To accomplish this I used the standard DBgridView, BindingNavigator, TableAdabter, and DataSet by draging the table from the DataSources bar onto the form.
Pls find the details of my tables:
Tabel A:
Employee ID
Employee Name
Employee Ext
Table B:
Employee ID
Employee Salary
I am also using StronglyTyped DataSet. All queries and tables adapters are in a single XSD file. Also the binding navigator is binding to Table A.
Now what I need help with please is, how can I add the column
(Employee Salary) in a combo box in the DataGridView form. I can write an (Inner Join) query but the thing is I do not know where to place it to make the Combo box a lookup column, while committing the value of the matching (Employee ID) based on the user input. !!
Thanks
Leedo
PS: I am using VS 2005. (VB)