请教一个关于radiobuttonlist空间的问题
<asp:RadioButtonList ID="RadioButtonList11" runat="server" RepeatColumns="4"
Width="300px" RepeatDirection="Horizontal" >
<asp:ListItem Value="1"></asp:ListItem>
<asp:ListItem Value="2"></asp:ListItem>
<asp:ListItem Value="3"></asp:ListItem>
<asp:ListItem Value="4"></asp:ListItem>
</asp:RadioButtonList>
满意 基本满意 不满意 不了解
@1 @2 @3 @4 (能不能让这个value 1 2 3 4 不显示啊)
我用这个控件,设定了1,2,3,4个值,分别对应(满意 基本满意 不满意 不了解)
然后根据选定的值,相应的跟新投票的结果
switch (RadioButtonList11.SelectedValue)
{
case "1":
DataAccess.ExecuteSql("update Title set my=my+1 where tid=1");
break;
case "2":
DataAccess.ExecuteSql("update Title set jbmy=jbmy+1 where tid=1");
break;
case "3":
DataAccess.ExecuteSql("update Title set bmy=bmy+1 where tid=1");
break;
case "4":
DataAccess.ExecuteSql("update Title set blj=blj+1 where tid=1");
break;
default:
break;
}
我就想在表单中就显示radiobutton的图标@,而不要显示文本和值,有没有什么办法吗?