I have the strings which consists of ( ' ) quote mark like "mother's love" ...
While inserting the data by sql query from c#. It shows error. How can i rectify the problem and insert this kind of data successfully?
string str2 = "Insert into tblDesEmpOthDetails (EmpID, Interviewnotes) values ('" + EmpId + "','" + Interviewnotes + "')";
Interview notes consists the value like "Mother's love" (with single quote). While executing this query it shows error as "Unclosed quotation mark after the character string ')" how can i insert this type of strings?