I'm having a problem when I try to make a INSERT query with a value that has '>', '%' and other special chars on a SQL Server Database...
The application if of course a ASP Net Web application (C#)
The way I'm preparing the insert query is:
string Query1 =
"UPDATE message SET message = '" + mymessage + "' " +
"WHERE operationType = '" + value_operationType + "' " +
"AND languageType = '" + value_languageType + "';";
Using IIS 7 I don't have this problem but using IIS 6 I have it.
Is there some configuration I should change on IIS 6?
Thanks!