how add countries names to combobox and their respective states in another combobox in windowsforms
when india is select in country combobox then india states are add to state combobox
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Jul 24, 2014, 4:53 AM
First create two table in sql like below given structure
Then query country table from sql and bind with your combobox itemsource, you want to display, then query state table by country id in the selected change event of country combbox and bind into with another combobox itemsource
Kindly mark as answer, if it helps you
Thanks,
Kailash
Guest UserPosted Jul 24, 2014, 3:55 AM
twitter @sumitjolly