ASP.NET(vb.net) & BulletedList - asp:BulletedList - asp:BulletedList : The BulletedList control is used to create a list of items formatted with bullets. To specify the individual list items that you want to appear in a BulletedList control, place a ListItem object for each entry between the opening and closing tags of the BulletedList control.
ShotDev Focus:
- ASP.NET(vb.net) & BulletedList - asp:BulletedList
Tag Control :
<asp:BulletedList id="BulletedList1" runat="server" DataSource="<% databindingexpression %>" DataTextField="DataSourceField" DataValueField="DataSourceField" AutoPostBack="True|False" OnSelectedIndexChanged="OnSelectedIndexChangedMethod"> <asp:ListItem value="value" selected="True|False"> Text </asp:ListItem> </asp:BulletedList>
Example
BulletedList.aspx
<%@ Page Language="VB" %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:BulletedList id="BulletedList1" BulletStyle="Circle" runat="server"> <asp:ListItem>Item #1</asp:ListItem> <asp:ListItem>Item #2</asp:ListItem> <asp:ListItem>Item #3</asp:ListItem> <asp:ListItem>Item #4</asp:ListItem> <asp:ListItem>Item #5</asp:ListItem> </asp:BulletedList> </form> </body> </html>
Screenshot