(asp.net)用DropDownList加入ListItem时,怎样输入空格
2010/12/9 9:13:45 bb0536 http://bb0536.javaeye.com
我要评论(0)
- 摘要:stringspace=server.HtmlDecode(" ");DropDownListAttribute.Items.Add(newListItem(space+"text","value"));
- 标签:.net ASP.NET list item net
string space = server.HtmlDecode(" ");
DropDownListAttribute.Items.Add(new ListItem(space + "text", "value"));