I have an SQL query of this form
string cmdText = \"Select * from \" + searchTable + \"WHERE \" + searchTable + \"Name =\' \" + searchValue + \"\'\";
string cmdText = "Select * from " + searchTable + " WHERE Name = '" + searchValue + "'";