T
tshad
Why is
System.Web.HttpContext.Current.Request.ServerVariables["APPL_PHYSICAL_PATH"]
giving me the following message:
C:\VSProjects\NewHires\NewHire.cs(227):
'System.Web.HttpRequest.ServerVariables' denotes a 'property' where a
'method' was expected
I have used this is in other projects without any problems.
Here is my using section - am I missing anything there?
using System;
using System.Data;
using System.IO;
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Checksums;
using System.Text.RegularExpressions;
using System.Data.SqlClient;
using System.Web.Services;
using MyFunctions;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
Thanks,
Tom
System.Web.HttpContext.Current.Request.ServerVariables["APPL_PHYSICAL_PATH"]
giving me the following message:
C:\VSProjects\NewHires\NewHire.cs(227):
'System.Web.HttpRequest.ServerVariables' denotes a 'property' where a
'method' was expected
I have used this is in other projects without any problems.
Here is my using section - am I missing anything there?
using System;
using System.Data;
using System.IO;
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Checksums;
using System.Text.RegularExpressions;
using System.Data.SqlClient;
using System.Web.Services;
using MyFunctions;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
Thanks,
Tom