Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to use external resource.resx file in c#

ResourceManager rm = new ResourceManager("UsingRESX.Resource1",  
Assembly.GetExecutingAssembly());  
String strWebsite = rm.GetString("Website",CultureInfo.CurrentCulture);  
String strName = rm.GetString("Name");  
form1.InnerText = "Website: " + strWebsite + "--Name: " + strName;
Source by www.c-sharpcorner.com #
 
PREVIOUS NEXT
Tagged: #external #file
ADD COMMENT
Topic
Name
7+5 =