L
LamSoft
How to add slashes for the each element in the incoming Request.Form
I tried:
for (int i = 0; i < Request.Form.Count; i++)
{
Request.Form. = Request.Form.Replace("'",
"\\'").Replace("\"", "\\\"");
}
But it causes an error and showing Request.Form is an read-only
attributes......
I tried:
for (int i = 0; i < Request.Form.Count; i++)
{
Request.Form. = Request.Form.Replace("'",
"\\'").Replace("\"", "\\\"");
}
But it causes an error and showing Request.Form is an read-only
attributes......