Geeks With Blogs
Jeroen Bourdeaud'hui web application developer July 2009 Entries
Use another resourceobject, then the culture specified resourceobject.
Long time no see. For example you want to sent an automatic email in ASP.NET. But your culture is "en-GB" and the language of the person you want to email is Spanish("es-ES"). Then you want to use the Spanish resource files, while creating the mailMessage. You can use the Spanish resource file by using the HttpContext.GetGlobalResour... method. Dim sLabel As String = HttpContext.GetGlobalResour... "myKey", New CultureInfo("es-ES")) More information: http://msdn.microsoft.com/e... ......

Posted On Thursday, July 9, 2009 2:50 PM

Copyright © Jeroen Bourdeaud'hui | Powered by: GeeksWithBlogs.net