Ok I tried doing the latter. Here is my code but I get an error saying that
The name 'CfgKeyFirstDayOfWeek' does not exist in the class or namespace
'DashBoard.DashBoardForm'
am I putting it in the wrong place?
namespace DashBoard
{
public class Global : System.Web.HttpApplication
{
public const string CfgKeyFirstDayOfWeek = "FirstDayOfWeek";
public Global()
{
InitializeComponent();
}
}
Tap said:
Bryan,
You can use web.config file to declare additional variables as follows.