Friday, February 17, 2012

How to Retrieve Resource Values Programmatically in ASP.NET


        Button1.Text = GetLocalResourceObject("Button1.Text").ToString();
        Image1.ImageUrl =     (String)GetGlobalResourceObject(
            "WebResourcesGlobal", "LogoUrl");
Reference: http://msdn.microsoft.com/en-US/library/ms227982(v=vs.80).aspx

No comments:

Post a Comment