Hai... I'm Doing my project in asp .net(vb .net coding)
If anybody guide me means it would be great pleasure for me...
I want to display names in the list box
So i used the coding:
If Not Page.IsPostBack Then Try myda = New SqlDataAdapter("Select name from agent", connection) ds = New DataSet myda.Fill(ds, "agent") ListBox2.DataSource = ds ListBox2.DataTextField = ds.Tables(0).Columns("Lastname").ColumnName.ToString() ListBox2.DataBind() Catch ex As Exception End Try End If
Now i want to display count value near the name ...
The below names will be displayed in the listbox when the page loads
Here 3 thomus are there ,for this i have to set values like this
This should be displayed on the listbox can any one say what to do and how to do with little ex :-/:?: ...
Thanks in advance...