hi,
I am a new to VB.NET.Currently doing a project on it.I am using a checkboxlist control with values like 'Computer', 'Printer','Fax' etc.
When the user finishes selecting/checking the boxes, i have to put the values to the database using a SELECT statement like,
SELECT computer,Fax FROM TABLE;
I want to pass "computer,fax" as a whole string with the comma to the SELECT statement(dynamically) or if three boxes were checked then all the three values with the comma.
How can this be done?
I am a new to VB.NET.Currently doing a project on it.I am using a checkboxlist control with values like 'Computer', 'Printer','Fax' etc.
When the user finishes selecting/checking the boxes, i have to put the values to the database using a SELECT statement like,
SELECT computer,Fax FROM TABLE;
I want to pass "computer,fax" as a whole string with the comma to the SELECT statement(dynamically) or if three boxes were checked then all the three values with the comma.
How can this be done?