View Single Post
Join Date: Jul 2008
Posts: 3
Reputation: buffdaemon_live is an unknown quantity at this point 
Solved Threads: 0
buffdaemon_live buffdaemon_live is offline Offline
Newbie Poster

Re: filling data in combo box from SQL server

 
0
  #3
Jul 22nd, 2008
The problem with this query is that i can have some of the "product_name" same. Any idea??

Originally Posted by tuse View Post
Use another SQL statement. Construct it like this-

  1. Dim strSQL2 As String = "SELECT product_id FROM product where product_name=" & Me.cmbDropDown.SelectedItem
Reply With Quote