I want to make message strings independent of aspx file and code behind开发者_StackOverflow page
I want to know how to use the resource files with code behind to achieve this?
or is there any other way to do this, other than using resource files?
In software, there is always more then one way. ;) But if you want to separate string literals from an aspx page, resource (resx) files are the accepted standard.
This article might help you get rolling.
精彩评论