S
Steve Richter
what with the website solution structure not having a namespace, how
does the class of one website .aspx page class reference the class of
another page in the same website?
I have two pages. _Default.aspx and Default2.aspx. How would I call a
static or instance method in Default2 from _Default ?
assuming the answer is to qualify with the namespace, the question is
what is the namespace of the two pages?
thanks,
-Steve
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Default2 page2 = new Default2( ) ; // ????????
}
}
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
does the class of one website .aspx page class reference the class of
another page in the same website?
I have two pages. _Default.aspx and Default2.aspx. How would I call a
static or instance method in Default2 from _Default ?
assuming the answer is to qualify with the namespace, the question is
what is the namespace of the two pages?
thanks,
-Steve
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Default2 page2 = new Default2( ) ; // ????????
}
}
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}