listbox to textbox

chi2king

Member
Joined
Sep 28, 2006
Messages
20
Programming Experience
Beginner
Can anyone help me please on on how to start with this project.
when clicking on the listbox (displayed with a column data from a database
table) the data details will be displayed
on textboxes just beside the listbox.


VB.NET:
Protected Sub ListBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e 
As System.EventArgs) Handles ListBox1.SelectedIndexChanged
TextBox1.Text = ListBox1.SelectedItem.ToString

this only displays the data on listbox into one of the textboxes. how about
its details? can i display it in the textboxes?
 
Back
Top