Tuesday, May 18, 2010

How to dynamically apply globalization on keyword retrieved from various sources

One of the common requirement is to apply globalization on the keyword that retrieved from sql database to make your content dynamic.

The below is the example, where output is the KEYValue of the KEYWORD in ResourceCLASSNAME

string output = HttpContext.GetGlobalResourceObject("ResourceCLASSNAME", "KEYWORD").ToString();

No comments:

Post a Comment