Click here to Skip to main content
15,885,869 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can i change a value in a grid by code, this combobox has a relations with other table....
Posted
Comments
[no name] 28-Mar-14 19:08pm    
Based strictly on the enormous amount of information that you have given us to work with, I would have to say, write some code?
PrissySC 28-Mar-14 19:41pm    
Sorry, but I darn near fell out of my chair!

You would have to make the row the selected row. Identify the selected row. Identify the column of the combobx. Identify the selected index/value.

Secondly, if connected to another table, is it a reference table? if not, you will need to cascade the changes by starting with the primary table and then update the second table. You don't change the foreign element. You update it. You always change were the data has originated from first.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900