4
Answers

Save ComboBox to Database and retrieve the information back.

Pelumi Eluyera

Pelumi Eluyera

10y
810
1
I am trying to Save database information from a  Combobox to a database and then retrieve the information back to the User.

I am already able to Save to the database. The step I am struggling with is to push the information from the database back to the app and to show the information from the database combobox. I have already tried using Databinding withing c sharp this does not solve the problem.

Any help will be appreciated.

Regards





Answers (4)
0
Midhun T P
NA 19.7k 281.2k 8y
Hi,
I don't think it is possible to achieve what you are looking with a single select query.
You won't get distinct from every columns while selecting multiple columns. Because distinct keyword considers whether a single row is distinct or not. Not a column. Please have a look at below link -
http://dba.stackexchange.com/questions/102677/select-distinct-on-multiple-columns
0
Abhishek Chadha
NA 454 26.3k 8y
your logic is true
could you post the screenshots of the table with data