Use of resource manager class, DOT NET Programming

Assignment Help:

What's the use of resource manager class?

The ResourceManager class helps us to read the resource files and get the values by using key. At First you require to create the object of resource manager. You need to specify the resource name & the assembly in the constructor.

private ResourceManager objResourceManager = new ResourceManager("Globalization.resource",System.Reflection.Assembly.GetExecutingAssembly());

Once the resource manager is inhabited with details you can then use the GetString function to get by key. For illustrate in the below code snippet we are using the "cmdAddNew" key to get the value for button "cmdAddNew".

cmdAddNew.Text = objResourceManager.GetString("cmdAddNew");


Related Discussions:- Use of resource manager class

CSS, Howto create a simple stylesheet for a web application

Howto create a simple stylesheet for a web application

How to increase sql performance?, How can you increase SQL performance? ...

How can you increase SQL performance? 1)Keep your indexes as narrow as possible. This reduces the size of the index and decrease the number of reads needed to read the index.

API''s, i would like to learnd API''s how they works for advance programmin...

i would like to learnd API''s how they works for advance programming in vb.net

Design consideration to take datagrid, How to decide on the design consider...

How to decide on the design consideration to take a Datagrid, datalist or repeater? So many make a blind choice of choosing datagrid directly, but that is not the right way.

Prepare .net twain application, Prepare .NET TWAIN application to control d...

Prepare .NET TWAIN application to control digital imaging sensor Project Description: We are seeking somebody to create a .NET TWAIN application which will activate a digital

Explain MVC, Explain MVC and how it is diffrennt from Asp.net

Explain MVC and how it is diffrennt from Asp.net

I need kinect developer c++, I need Kinect Developer c++ We are creating...

I need Kinect Developer c++ We are creating a fitting room with Kinnect and I need some questions answered like how to detect if a person turns around, how to make the clothing

Design patterns, What are design patterns? The Design patterns are recu...

What are design patterns? The Design patterns are recurring solution to the recurring problems in the software architecture. There are 3 basic classification of patterns Behavi

Tfs - spirateam synchronization plug-in, We would like you to develop the s...

We would like you to develop the subsequent requirements in one plug-in already in production. The plug-in was developed in Visual Studio 2010 .NET Framework 4 C# and synchronizes

Difference between "web farms" and "web garden", What is the difference bet...

What is the difference between "Web farms" and "Web garden"? The "Web farms" are used to have some redundancy to reduce the failures. It consists of two or more web server of t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd