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

Create page website to catalog some of the music, Create page website to ca...

Create page website to catalog some of the music: A homepage:  that automatically comes up when you go to 127.0.0.1:3000 (instead of the default Ruby-on-Rails pa

What is the difference between thread and process, What is the difference b...

What is the difference between thread and process?  Thread - is used to implement more than one program at a time. process - implements single program A thread is a path

Describe the roles of clr in .net framework, Describe the roles of CLR in ....

Describe the roles of CLR in .NET Framework. CLR gives an environment to execute .NET applications on target machines. CLR is also a common runtime environment for all .NET cod

Calculating the sum of digits - c# program, Calculating the Sum of Digits -...

Calculating the Sum of Digits - C# Program Hi, Can any of you, tell me how can i calculate the sum of digits of a given number?

Difference between "optimistic" and "pessimistic" locking, What's differenc...

What's difference between "Optimistic" and "Pessimistic" locking? In the pessimistic locking when user wants to update a data it locks the record and till then no one can updat

Develop a face recognition systems, Develop a Face Recognition Systems P...

Develop a Face Recognition Systems Project Description: Seeking for someone who has worked with Face Recognition techniques and is familiar with the relevant mathematical alg

Console application, Write a C# program (C# console application) that plays...

Write a C# program (C# console application) that plays a word game with the user. The program should ask the user to enter the following: • His or her name • His or her age

Problems occur while implement locking in sql server, What are the problems...

What are the problems that can occur if you do not implement locking properly in SQL SERVER? The problems that occur if you do not implement locking properly in SQL SERVER is a

Dynamic web presentation tier, Part 1 requires you to complete a dynamic we...

Part 1 requires you to complete a dynamic web presentation tier, based on your MiddlewareLib.dll  library. This should run as an ASP.NET page, Default.aspx, under WebDev.WebServer,

I want licensing system, Project Description: I'm presently seeking at l...

Project Description: I'm presently seeking at least one more coder that will help me out manage all my concepts and in that way we will share each other's experience and make te

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