Author: nazeri | Posted on: 6/29/2010 1:34:20 PM | Views : 872

hi
I have this code in html page :


<asp:ListBox ID="ListBox1" runat="server" AutoPostBack="True" Height="62px" Width="114px"> <asp:ListItem>1</asp:ListItem> <asp:ListItem>2</asp:ListItem> <asp:ListItem>3</asp:ListItem> </asp:ListBox> <asp:Label ID="Label1" runat="server"></asp:Label>

and my vb code is this :



Protected Sub ListBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Dim lst_value As Integer = ListBox1.SelectedValue Label1.Text &= lst_value End Subi can write in my lable a number like 132 or 123 by click on each numbers from listbox .
but i wana t ...

Go to the complete details ...