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

Popular posts from this blog

python - Getting ESC characters and non-printables from UDP socket / buffer -

Convert excel to pdf with VBScript -