|
-
Apr 4th, 2007, 02:43 AM
#1
Thread Starter
Lively Member
List Box in vb2005
Hi All,
I am trying to upgrade my existing vb6 project to vb2005.
In vb6 i was using
strQuery = "select * from tblemployee order by emp_name"
Set rstRecord = gObjConn.Execute(strQuery)
While Not rstRecord.EOF
lstLookup.AddItem rstRecord("emp_name")
lstLookup.ItemData(lstLookup.NewIndex) = rstRecord("emp_id")
rstRecord.MoveNext
Wend
How can i do the same using vb2005
Thnks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|