Tuesday, May 31, 2022

ASP.NET C# SQL queries in APP_GlobalResouces

 > Create App_GlobalResources folder

> Right click on App_GlobalResources folder and Add Resource file

> Create CommonQuery.resx

> Add (name = ErrorMessage, value = Error Occured and comment= test)

> Use Resources.CommonQuery.ErrorMessage in any .cs page.

No comments:

Post a Comment