Software QA (13)
SQL Server (1)
What’s the use of resource manager class
What’s the use of resource manager class?
ResourceManager class helps us to read the resource files and get the values using key.
First you need to create the object of resource manager. You need to specify the resource name and the assembly in the constructor.
private ResourceManager objResourceManager = new ResourceManager("Globalization.resource",System.Reflection.Assembly.GetExecutingAssembly());
Once the resource manager is populated with details you can then use the GetString function to get by key. For instance in the below code snippet we are using the
“cmdAddNew” key to get the value for button “cmdAddNew”.
cmdAddNew.Text = objResourceManager.GetString("cmdAddNew");
2007-11-01, 5137👍, 0💬
What does address of operator do in background? The AddressOf operator creates a delegate object to ...
Can you explain steps in function points? Below are the steps in function points: >First Count ILF, ...
How To Retrieve Input Values for Checkboxes Properly? - PHP Script Tips - Processing Web Forms If mu...
How To Download and install PSP Evaluation? - PSP Tutorials - Fading Images to Background Colors wit...
How To Enter Characters as HEX Numbers? - MySQL FAQs - Introduction to SQL Basics If you want to ent...