Using Resource Manager Class.

Discussion in 'ASP .Net' started by amitmnagarwal@gmail.com, Oct 30, 2006.

  1. Guest

    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
    , Oct 30, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JezB

    Resource Manager Question

    JezB, May 21, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    308
  2. Dirc Khan-Evans
    Replies:
    1
    Views:
    893
    Karl Seguin
    Oct 17, 2005
  3. =?Utf-8?B?cHJhc2hhbnQga3VtYXIgc3JpdmFzdGF2YQ==?=

    using resource manager

    =?Utf-8?B?cHJhc2hhbnQga3VtYXIgc3JpdmFzdGF2YQ==?=, Jun 12, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    303
    =?Utf-8?B?cHJhc2hhbnQga3VtYXIgc3JpdmFzdGF2YQ==?=
    Jun 12, 2007
  4. padma
    Replies:
    0
    Views:
    347
    padma
    Oct 3, 2007
  5. Metalone
    Replies:
    0
    Views:
    344
    Metalone
    Jan 6, 2010
Loading...

Share This Page