How to put variable value inside value of resource file
You could put a formatted string in your resource file:
"You have bought {0} books."
Then use the formatted string with your value like this:
BoughtBooksAmountTextLabel.Text
= String.Format(yourResourceString, BoughtBooksAmountValueLabel)
No comments:
Post a Comment