Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encoding problem?
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00780633
Message ID:
00780890
Views:
8
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
Previous
Reply
Map
View

Click here to load this message in the networking platform