View Single Post
Join Date: Jul 2007
Posts: 169
Reputation: tuse is an unknown quantity at this point 
Solved Threads: 14
tuse's Avatar
tuse tuse is offline Offline
Junior Poster

Re: filling data in combo box from SQL server

 
0
  #2
Jul 22nd, 2008
Use another SQL statement. Construct it like this-

  1. Dim strSQL2 As String = "SELECT product_id FROM product where product_name=" & Me.cmbDropDown.SelectedItem
My blog on .NET- http://dotnet.tekyt.info
Reply With Quote