I'm a little confused .. im a code newbie lol
This is in a Windows Form.
Not sure what version of VB I'm using, but let me explain what im doing more:
I'm retrieving a big value in a text box from a database. The data returned is apparently a system.collections.arraylist
I then want to get this retrieved value and put it somewhere on a form, using a list box, text box, or something. Here is my code so far:
I have a list box with a list of 'subjects' in. When the user clicks on a subject, the query searched for the 'description' of the subject entered.
this is my code:
====================================
varSel = lstinfo.SelectedItem()
xConn = New sqlConn
xConn.connectMe("SELECT [Description] FROM Subject WHERE Subject = ""& varSel""")
For iCounter = 0 To xConn.getData.Count - 1
Next
xConn.OLEConn.Close()
=============================
The next step is to display it somewhere on my form.. and I dont know how to do it .. i hope i explained myself alright this time!