I have a listbox with 3 columns on a form in VB.net
The listbox is called lstbx_sort.
I want tSort.IID in the 1st column, tSort.sName in the 2nd column, tSort.bAssignTable in the 3rd column
The recordset is ..
myConn2.Open()
Dim myComm2 As New SqlCommand("SELECT tSort.IID, tSort.sName, tSort.bAssignTable FROM tSort WHERE (((tSort.IID)<=18 And (tSort.IID)<>17))", myConn2)
How do I loop through this table and load up the listbox using VB.net code?
Also in Access/VBa I used to use the AfterUpdate event on a textbox to code things...what is the equivalent event on a textbox in VB.NET?
Any help or insight would be much appreciated
Start Free Trial