Hi all,
can anyone tell me how to write the .net code for vb6.setitemdata for combobox or listbox item?
Pgmer
50
Master Poster
Featured Poster
Recommended Answers
Jump to PostThere is no such thing as vb6.setitemdata.
You need to give us more information on what you mean.:)
Jump to PostI have asked the moderators to move this to vb.Net. I'm sure you will get the solution there. There is a fair amount of change in the code you need from vb6 to .net.:)
I will in the interim see if I can work towards a solution here.
Jump to PostHope this is what you are looking for -
Private Sub ReadData() Dim i As Integer Dim cmdUser As New SqlCommand Dim daUser As New SqlDataAdapter Dim dsUser As New DataSet Dim dtUser As New DataTable Dim conn As SqlConnection conn = GetConnect() Try cmdUser = conn.CreateCommand …
All 10 Replies
AndreRet
526
Senior Poster
Pgmer
50
Master Poster
Featured Poster
AndreRet
526
Senior Poster
Pgmer
50
Master Poster
Featured Poster
AndreRet
526
Senior Poster
Pgmer
50
Master Poster
Featured Poster
AndreRet
526
Senior Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Pgmer
50
Master Poster
Featured Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.