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);
}
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);
}
No comments:
Post a Comment