Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Using Resource Manager Class.

Reply
Thread Tools

Using Resource Manager Class.

 
 
amitmnagarwal@gmail.com
Guest
Posts: n/a
 
      10-30-2006
Hi all,

This is regarding the using resource files to read the data. I
have a common function where the code for reading the data exists.

The common method has the following code:

Dim sAssembly As [Assembly]
sAssembly = [Assembly].GetExecutingAssembly()

Dim rm As New ResourceManager("MultiLingual.Info", sAssembly)

''Case sensitive
Response.Write(rm.GetString("Test"))
Response.Write("<br><br>" & rm.GetString("Test1"))



Now i want to know what is the best practice to access this class.
Create a static method.

I want to know the performance impact of each time calling the above
method.

Please tell me the design of the class

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using resource manager =?Utf-8?B?cHJhc2hhbnQga3VtYXIgc3JpdmFzdGF2YQ==?= ASP .Net 0 06-12-2007 07:03 AM
Resource manager problem: naming for embedded resource. Dirc Khan-Evans ASP .Net 1 10-17-2005 12:52 PM



Advertisments