Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encoding problem?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00780633
Message ID:
00780890
Vues:
11
Chris,

They both offer a way to decode a string. Which one to use depends on your scenario. Glad you were able to get this working.

>>Hi Chris,
>>
>>Use the HttpUtility.UrlDecode method to convert the Unicode:
>>
>>
>>YourTextBox.Text =
>>HttpUtility.UrlDecode(ds.Tables["MyTable"].Rows[0]["MyField"].ToString());
>>
>>
>That was fast.
>I had been going through System.Text.Encoding with little success.
>UrlDecode didn’t do it but HtmlDecode did.
>
>Thanks,
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform