Question : ADO.NET: Retrieve Data from DropDownList

Hi all,

I have 2 Stored Procedures that i have created which I have attached. I have a .aspx page that has a dropdown list and a gridview on the same page. What I'm trying to accomplish is for a user to select an ID from the dropdown and retrieved details within the GridView. Please see my user controls that I created below. I'm sure i'm missing something easy, but I can't find it.

DropDown Control Code:






GridView User Control:




Answer : ADO.NET: Retrieve Data from DropDownList

See this example, it might help you

http://www.java2s.com/Code/ASP/Asp-Control/SelectedIndexChangedeventforaspDropDownListVBnet.htm
Random Solutions  
 
programming4us programming4us