diablo_hacker
New Member
I am trying to format the text of my drop down list but nothing seems to work. Here is my code belowrop down list:\[code\]<aspropDownList runat="server" ID="ddlSalary" CssClass="ddlBox" CausesValidation="true" AutoPostBack="true" onselectedindexchanged="ddlSalary_SelectedIndexChanged" />\[/code\]Code behind:\[code\]if (!IsPostBack) { ddlSalary.DataSource = Placements.DropDownPopulating("Placement_Salary_From"); ddlSalary.DataBind(); ddlSalary.Items.Insert(0, new ListItem("-- Salary --", "0"));\[/code\]Results:\[code\]6.0000200.00001000.0000\[/code\]But I would like:\[code\]