the issue is I am at this level
public partial class _Default : System.Web.UI.Page
{
then i have a class from a library defined under this line.
classname variableName = new ClassName();
i want to make this load once.
and there is no way for me to call the this instance inside of page load or anything. how would i define this once and only once.. the instance i am using sets a connection and then i have to use different things from that library to send a message
This is under the page load class its the only place i can call this class without the rest of the application crashing. I've tried putting it in the page laod and that gives an error
public partial class _Default : System.Web.UI.Page
{
then i have a class from a library defined under this line.
classname variableName = new ClassName();
i want to make this load once.
and there is no way for me to call the this instance inside of page load or anything. how would i define this once and only once.. the instance i am using sets a connection and then i have to use different things from that library to send a message
This is under the page load class its the only place i can call this class without the rest of the application crashing. I've tried putting it in the page laod and that gives an error