♠ Posted by uvesh in Radio button list bind at Tuesday, August 12, 2014
asp.net controls which support data binding:
- asp:CheckBoxList
- asp:RadioButtonList
- asp:Listbox
- asp:DropDownList
The selectable items in each of the above controls are
usually defined by one or more asp:ListItem controls
<html>
<body>
<form runat="server">
<asp:RadioButtonList id="countrylist"
runat="server">
<asp:ListItem value="S" text="Sunday"
/>
<asp:ListItem value="M" text="Monday "
/>
<asp:ListItem value="T" text="Tuesday "
/>
<asp:ListItem value="W" text="Wednesday"
/>
<asp:ListItem value="Th" text="Thersday"
/>
<asp:ListItem value="F" text="Friday "
/>
<asp:ListItem value="S" text="Saturday "
/>
</asp:RadioButtonList>
</form>
</body>
</html>
Improve Your Answer as comment below.
If our post is useful please share and comment on our post for more post and detail Visit :
http://aspdotnethelpmaster.blogspot.in/
0 comments:
Post a Comment