Setting resource key at runtime RRS feed

  • Question

  • User-1246604461 posted

    I want to display a Label (or Literal) with result message on my page....the result can be success or failure...

    if x>y then
    end if

    The thing is...I want to be able to show the message in the language of the current user....
    Can I achieve the above with resource files? if so how?

    I dont want to have many case select statements in my site like:
    Select Case sUserLanguage
    Case "en"    'english message
    Case "de"    'german message
    end select

    Help is appreciated!

    Sunday, April 9, 2006 4:45 PM

All replies