Posted on: 9/2/2015 5:10:53 PM | Views : 746

Hi
I need to save one value in one Hidden Field but I have some problems.
I need to get the value from one gridview and when the value has portuguese chars in geral á, ç etc I can't save it correctly. Here is my code
nome_aluno.Value = GridView1.Rows[i].Cells[2].Text; Response.Write(nome_aluno.Value); Response.Write(GridView1.Rows[i].Cells[2].Text); In the first case I've got
A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$nome_aluno="Mário José ..."). In second case the value is correct and the name Mário José appears
How can I solve this issue, please
Thank you

Go to the complete details ...