Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET MVC2
hello friends i am new in mvc2 i wan to fill drop down list like first select State and other drop down city fill according to select Sate if i select Gujarat display only city of Gujarat in my data base i take state key is foreign key in city table so how can i do when any one select state at that time city of particular is bind in drop down

and body know this please help me..

thanks.........
Posted 27-Nov-12 2:41am
Comments
Teenustar at 27-Nov-12 10:48am
   
Are you using Entity Framework for the data?
bhavesh002 at 28-Nov-12 2:08am
   
Entity Framework

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 638
1 Sergey Alexandrovich Kryukov 445
2 ProgramFOX 275
3 CHill60 225
4 Maciej Los 215
0 OriginalGriff 550
1 Sergey Alexandrovich Kryukov 470
2 Maciej Los 310
3 ProgramFOX 275
4 Peter Leow 250


Advertise | Privacy | Mobile
Web04 | 2.8.150331.1 | Last Updated 6 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100