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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.