i am new here can someone help me. i have create a small registration form using asp.net MVC and i want to add a cascading dropdownlist for store address of student(Country,state,City).i need to store all values in SQL Database. anyone here please solve my problem.....Thanks in advance
Loading
Jaimin ShethiyaPosted Apr 19, 2024, 6:16 AM
Hello Soheb,
In your previous question, we had already given the solution. please refer below link of your question and also you have select the answer as well of your question.
https://www.c-sharpcorner.com/forums/cascading-dropdown-list33
Thanks
Jignesh KumarPosted Apr 19, 2024, 6:33 AM
Hello Soheb,
Model Creation for Country, State and City as below
MVC: Presentation layer
Jquery implementaion :
Access Data from Database using EF,
You may refer above article for more reference as Jaimin and Naimish shared links
Naimish MakwanaPosted Apr 18, 2024, 12:26 PM
Please refere below article.
https://www.c-sharpcorner.com/UploadFile/sourabh_mishra1/cascading-dropdownlist-in-Asp-Net-mvc/
https://www.c-sharpcorner.com/article/cascading-dropdown-list-of-country-state-and-city-using-mvc-web-api-and-jquery/
Thanks