Hi there, i am having a problem on a simple part of coding again
this time its regarding listbox
i would like to use a list box to populate a set of records and from the records users is capable of clicking on it..once clicked it will open a rich textbox which the location of the file is stored in the database
I have solve the populating data records in the listbox however i am still stuck on how to call the rich textbox out
This is my codes
<There are 2 records in my database one is the TutoName and the second is the FileLocation(to store the location of the rtf file)>
Dim ds As DataSet = New DataSet
Me.OleDbDataAdapter1.Fill(ds, "Sickness")
Dim dv As DataView = ds.Tables("Sickness").DefaultView
ListBox1.DataSource = dv
ListBox1.DisplayMember = "TutoName"
this time its regarding listbox
i would like to use a list box to populate a set of records and from the records users is capable of clicking on it..once clicked it will open a rich textbox which the location of the file is stored in the database
I have solve the populating data records in the listbox however i am still stuck on how to call the rich textbox out
This is my codes
<There are 2 records in my database one is the TutoName and the second is the FileLocation(to store the location of the rtf file)>
Dim ds As DataSet = New DataSet
Me.OleDbDataAdapter1.Fill(ds, "Sickness")
Dim dv As DataView = ds.Tables("Sickness").DefaultView
ListBox1.DataSource = dv
ListBox1.DisplayMember = "TutoName"