I am trying to populate the following dropdown list with information from MySQL database.
<asp:DropDownList ID="DeleteUsersList" runat="server" AutoPostBack="True"
onselectedindexchanged="DeleteUsersList_SelectedIndexChanged"></asp:DropDownList>
I am using a .aspx source file for the html that contains the dropdown list.
I also have .aspx.cs file that contains C# code and I’m usying MySQL server for the database.
Basically I am trying to populate the dropdown list using a c# connection to MySQL database when the page is loaded. I have not been able to find anything specific with this information so if anyone can help me it would greatly be appreciated.
Thanks ahead.
Hi check the following link to read about drop down example in asp.net
Drop down list asp.net