Click here to Skip to main content
15,937,779 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have two dropdownlists say , Dropdownlist 1 and Dropdownlist 2, both of them need to be populated from the sql database inside an gridview . My Dropdownlist 1 shows me list of countries and Dropdownlist 2 shows list of states. So, depending upon the selection in dropdownlist 1 , dropdownlist 2 should populate from db. so my query is:

1. how to populate the dropdownlists from database inside the gridview?

2. how to populate the second dropdownlist based upon selection in the first dropdownlist?
member 8888995 29-Oct-13 3:06am    
Can you use any third party tools? if allowed you can use 'RadGrid' This task becomes very simple with radgrid. just check ''


1 solution

check this link. it may help you.
How to cascading dropdownlist in gridview in[^]

Share this answer

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900