vb.net - Visual Basic 2008 ADO getting ms access values to ComboBox -
i'm having trouble no values showing on combo box. want database value transfered combo box.
dim strsql string dim myrecord new adodb.recordset sub fillcombo() strsql = "select * tblpos" while myrecord.eof cboname.items.add(myrecord("productcode")) end while myrecord.movenext() call executequery(strsql) call getrecord() end sub
Comments
Post a Comment