I am totally new to this but I get an error in VS2005 when I build the website that says "the name request does not exist in the current context"
I'm guessing I'm missing some reference to what would allow me to call the method but I can't find it on the web anywhere's.
public class clientXML
{
public const string member_num = "unknown";
public const string EmpLast = "unknown";
public const string FOLDER_PATH = ("C:\\Orderstatus\\TOCXML\\AutoDialer\\");
public static string LoadXML()
{
string LogFile = FOLDER_PATH + "PostLog\\StreamRec.txt";
string myResponse = "";
myResponse = "here";
string empnum="000";
string EmpLast = Request.QueryString("employee_identifier");
string member_num = Request.QueryString("member_number");
string Emp_PATH = FOLDER_PATH + empnum + "\\";
string emp_PATH = Emp_PATH + member_num +".mn";
FileStream fs = new FileStream(emp_PATH, FileMode.CreateNew, FileAccess.Write);
StreamWriter sw = new StreamWriter(fs);
fs.Close();
return myResponse;
}
}
}
any hints would be greatly appreciated.
I'm guessing I'm missing some reference to what would allow me to call the method but I can't find it on the web anywhere's.
public class clientXML
{
public const string member_num = "unknown";
public const string EmpLast = "unknown";
public const string FOLDER_PATH = ("C:\\Orderstatus\\TOCXML\\AutoDialer\\");
public static string LoadXML()
{
string LogFile = FOLDER_PATH + "PostLog\\StreamRec.txt";
string myResponse = "";
myResponse = "here";
string empnum="000";
string EmpLast = Request.QueryString("employee_identifier");
string member_num = Request.QueryString("member_number");
string Emp_PATH = FOLDER_PATH + empnum + "\\";
string emp_PATH = Emp_PATH + member_num +".mn";
FileStream fs = new FileStream(emp_PATH, FileMode.CreateNew, FileAccess.Write);
StreamWriter sw = new StreamWriter(fs);
fs.Close();
return myResponse;
}
}
}
any hints would be greatly appreciated.