Click here to Skip to main content
14,877,073 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dropdown list bind in  aspx page

What I have tried:

<asp:DropDownList ID="drpappariser" runat="server" CssClass="dropdownclr text_input"
TabIndex="29" Style="text-transform: uppercase; text-align: center" DataSourceID="empse"
DataTextField="Name" DataValueField="employee_id">
Updated 30-May-16 1:18am
Karthik_Mahalingam 26-May-16 9:50am
and, what is the issue?

You to bind it on code behind. Check this out: bind dropdownlist to DataBase | The ASP.NET Forums[^]
Configure your datasourse "empse" with table has two columns Name and employee_id from which you want to get records for dropdown.

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