State & City Management

States

IdState NameRemove

Add State


Cities

IdCity NameState NameIs CapitalInfoRemove

Add City


Find City Details


Business requirement — Database Operation 9

Filter the city listing immediately when a state is selected.

  1. Load all states into a dropdown.
  2. Include an All States option.
  3. Refresh the city query on dropdown change.
  4. Return only cities belonging to the selected StateId.