C# passing single quotes through query showing error : string query = "Select * from getLabelDetails where itemlookupCode='"+S"';";

The above query is showing error as it is missing semi column.  - "';" -  How can I pass single quotes for this query? 