Custom Control-DropDown+ASP.net
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All, I am trying to bind data to a custom control-dropdown.I created class file for control.Then made a DLL file and include that control in my website.I placed 2 dropdowns.1 for State and other for country.I want to populate both drop downs accordingly.I had written 2 SUBs-1 for state binding and other for Country Binding in class file. Code for State Binding dropdown:- Public Sub BindingDataState() Dim MultiList As New DropDownList() Dim ar As New ArrayList ar.Add("Jan") ar.Add("Feb") ar.Add("Mar") MultiList.DataSource = ar MultiList.DataBind() End Sub Please do help me..I am not getting data in dropdowns on browsing the page.