<script language="vb" runat="server"> Sub Page_Load(Src As System.Object, E As System.EventArgs) For I = 0 To 10 Dim lItem As New ListItem With lItem .Value = I & "Value" Text = "ListItem - " & I End With Lb.Items.Add(lItem) Next I End Sub </script> <html> <head></head> <body> <form runat="server" action="post"> <asp:ListBox id="Lb" runat="server" /> |