Author: .net_junkie | Posted on: 5/3/2010 3:44:24 AM | Views : 470

hi i am displaying various countries names in my dropdownlist and i want to display the data using gridview like whenever i change the country in my ddl it should display the relevant data according to the country??below is my code but i am unable to see any data whenever i change the country in my ddl gridview is not appearing??any help?
 
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged" DataTextField="name" DataValueField="name"> <asp:ListItem>india</asp:ListItem> <asp:ListItem>us</asp:ListItem> <asp:ListItem>uk</asp:ListItem> </asp:DropDownList> <br /> <asp:GridView ID="GridView1" runat="server" A ...

Go to the complete details ...