pass value of a ComboBox in SQL statement

CharlieChau

Active member
Joined
Jun 15, 2004
Messages
26
Programming Experience
Beginner
Hi,

Could someone help me to pass a value of a ComboBox into in a SQL statement, please.

Thanks,
/CC.
 
CharlieChau said:
Hi,

Could someone help me to pass a value of a ComboBox into in a SQL statement, please.

Thanks,
/CC.

what d ya mean passing a value in sql statement?

this one?
VB.NET:
dim cm as new sqlcommand("insert into sampletable values '" & combobox1.text & "'",cn)
 
Back
Top