Dim str As String = "SELECT posid, POSITION FROM pos;" Dim ctr As Integer CLSCONN = New C_connection CLSCONN.ACCESS_INDREC(str) cboposition.Items.Clear() With CLSCONN.ds Dim dt As New DataTable For ctr = 0 To .Tables(0).Rows.Count - 1 cboposition.Items.Add(.Tables(0).Rows(ctr).Item(1)) Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)