Answer the question
In order to leave comments, you need to log in
Working with a large number of components on a form?
[Not so long ago I began to learn C #]
C #, such elements as ComboBox, have a DataSource property where I can specify a table from the database and the data from this table will be in the ComboBox.
But when there are many such ComboBoxes on the form and each of them refers to different tables, problems begin.
1. When editing data, I must compare the data from the database with the ComboBox data, and
I do it like this
ComboBox.SelectedValue = data // где data переменная содержащая данные из бд.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question