I am coming from a vb6 background so I am new to .net. I am trying to add the value of a combobox in my sql and I use to go
select * from tbl where id = '" & combobox.text & "'"
I tried doing this and it states:
Error 4 Operator '&' is not defined for types 'String' and 'System.Windows.Forms.ComboBox'. C:\Documents and Settings\sodam\My Documents\Visual Studio 2005\Projects\SC_Utility\SC_Utility\frmMain.vb 87 43 SC_Utility
Thanks for your help
Shannon
