Category: resource file

using resx file in asp.net

add new item to asp.net project “resource file”

enter name and value pair in this file

put this file in App_GlobalResources

use below code to access file

public string GetErrorString(string validationString)
{
return Convert.ToString(GetGlobalResourceObject(“fileName”, validationString), CultureInfo.InvariantCulture);

}