locked
How to pass parameter to resource file RRS feed

  • Question

  • User916044121 posted

    Hi,

     Could someone help on  how to pass a parameter to a resource file in ASP.Net 2.0

    I usually acess the values in Resource file like

    Resources.Strings.Save

    I need to pass a parameter, since I have "Records Matched : {0}" in resource file.

     Thanks

    Ponnu

    Wednesday, September 20, 2006 4:37 PM

Answers

  • User916044121 posted

    Figured out myself, had to use String.Format(Resources.Strings.RecordsMatched, 10).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 21, 2006 3:02 PM