I have two dropdownlist in the page.
how to bind these two dropdownlist from database
One Dropdownlist has to bind from One Table and Another Dropdownlist is to bind from another table.
Thanks,
Home / DeveloperSection / Forums / How to Bind two Drop-Downs From two Different Tables
I have two dropdownlist in the page.
how to bind these two dropdownlist from database
One Dropdownlist has to bind from One Table and Another Dropdownlist is to bind from another table.
Thanks,
Manish Kumar
12-Jun-2017You can use ViewModel to load two dropdownlist from multiple tables like below
Model
Create a ViewModel in your model folder
view code