D
D
Dima2017-07-30 20:33:40
JavaScript
Dima, 2017-07-30 20:33:40

How to pull data from SQL table?

I am writing WEB.API using EF. There are three tables: The first (Settlement) where I take the city, the second (MedOrganization) where the ID of the selected city from the first and the ID of the organization that is in this city are stored. And the third table (Organization) where I take the name of the organization from the city I chose. I chose a city, found out the ID of the organization that is in this city BUT I don’t know how to display these organizations in the DropDownList. Tell me please!
d28a9b0d9e73420587dcd70a15406c3d.jpg
Photo of the script itself
6c1fb1dfbfe74be184bd174cbe88e797.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2017-07-31
@tsklab

the second (MedOrganization) where the IDs of the selected city are stored
WHERE (by area code).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question