Skip to content

How to select state and automatically populated city using l

jothi kumar

Asked Aug 11, 2014, 9:57 PM EDT5 answers
Share
LinkedInX
hi to all,
Here i have dropdown for state and city using model. but now i want populate city as per state selection.Can anybody help me.Here im using linq so kindly help me Here im using database table
 
Description:-
For state Stateid ->Primarykey,statename
 
For city Cityid->primary key, City-name , StateId->foreign key
 
Can anybody help me how to populate city as per state name using LINQ

5 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    u just gave only using asp.net but i want in mvc and one important using LINQ .here i done dropdown all think i want to just do only populate city as per state
    0
  • 0
    do you've any code written that i can refer and alter
    0
  • 0
    i wrote only populate city and state name from database table. but how to populate that
    0
  • 0
    can you please paste code so i get sense of what you're upto now?
    0