Friday, 12 October 2012

SQL Query: Insert inverted comma in sql statement

In access select statement where clause "" inverted comma has to use but from asp.net so In order to insert inverted comma in a string do the following:

string strEmpName ="Rajesh\'s";

string str2="raj\"esh\"";

No comments:

Post a Comment