0
I have . resx files where I store strings in English and Portuguese, in my database I have the following table:
And I want to change the description of the plans equal the first record of this table:
With this I can take this string "plano_1" straight from my Source thus managing to transform it into English and Portuguese.
But since Resource only lets me take the static methods with the strings inside, I can’t solve this problem.
I wish instead of doing this : string plano1 = Messages.plano_1;
use the string I’m going to pull from the database something like string plano1 = Messages("plano_1")
.