R
Robert H
Is there anyone out there that can answer a hopefully simple question?
this code is erroring out on me :
//( code behind same namespace )
public class Util {
public static string getURL(System.Web.UI.Page p){
try {return "page.aspx?name=" + p.Session["fname"] + " " +
p.Session["lname"];}
catch{return "";}
}
}
the aspx page is erroring on this code block.
<%=Util.getURL(this.Page)%>
is there a way to pass into that method a reference to the page?
thanks all,
Rob H
this code is erroring out on me :
//( code behind same namespace )
public class Util {
public static string getURL(System.Web.UI.Page p){
try {return "page.aspx?name=" + p.Session["fname"] + " " +
p.Session["lname"];}
catch{return "";}
}
}
the aspx page is erroring on this code block.
<%=Util.getURL(this.Page)%>
is there a way to pass into that method a reference to the page?
thanks all,
Rob H