rtxt.Text = "SELECT Title, Rating, CategoryCode, Description FROM tblMovieTitles WHERE (Rating = '" + this.chklCode.Text + "' ) AND (CategoryCode ="; //Add the value //Do loop on all selected items // AND/OR (CategoryCode = lstCategorie[x].value ; rtxt.Text += ")"; scmd = new SqlCommand(rtxt.Text, conn);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)