dbparamcollection param =new dbparamcollection(); stringbuilder cmd =new stringbuilder(select id from table where item like @rice); foreach(object item in checklistbox1.checkeditems) { param.add(new dbparameter("@rice", item) ); } datatable sub=helper.executedatatable(cmd.tostring, param);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)