Hello, this is the following .. In the site I am building, I record an information in the database, this information is a json, to be able to send this data to the database, I code them by javascript like this: p>
encodeURI(dados);
After that I send it via jquery and save it to the database ..
using System;
using System.Net;
...
Conecto ao banco de dados, pego a informação do jeito que está la em um string, e peço pra mostrar numa show box
MessageBox.Show(WebUtility.HtmlDecode(pedidos));
But it is not decoding, the result is still coming back just as it is in the database, all encoded as if it were a URI
%5B%0A%09%7B%0A%09%09%22id%22%3A%221%22%2C%0A%09%09%22produto%22%3A%22VENEZA%22%2C%0A%09%09%22preco%22%3A%2242.00%22%2C%0A%09%09%22quantidade%22%3A1%0A%09%7D%0A%5D