How do I add items to a ListBox w开发者_如何转开发ith text values such as "__foo" etc? It seems to trim it automatically.
DropDownList1.Items.Insert(0, new ListItem(HttpUtility.HtmlDecode(" ") + "foo", "foovalue"));
^^
How do I add items to a ListBox w开发者_如何转开发ith text values such as "__foo" etc? It seems to trim it automatically.
DropDownList1.Items.Insert(0, new ListItem(HttpUtility.HtmlDecode(" ") + "foo", "foovalue"));
^^
精彩评论