G
Guest
I have created this DateTime object and instanced it I think correctly
DateTime myClubNow1=new
DateTime(DateTime.Now.Year,DateTime.Now.Month,DateTime.Now.Day,DateTime.Now.Hour,DateTime.Now.Minute,DateTime.Now.Second);
I keep getting the below error:
Object reference not set to an instance of an object.
I don't know what the problem could be. Can someone help me with this? It
is driving me crazy. The stack info is as follows:
NullReferenceException: Object reference not set to an instance of an object.]
Sonar3.Controls.WeekendEvents.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\sonar3\controls\weekendevents.ascx.cs:41
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
Help!!!!!!!!!!! Please
DateTime myClubNow1=new
DateTime(DateTime.Now.Year,DateTime.Now.Month,DateTime.Now.Day,DateTime.Now.Hour,DateTime.Now.Minute,DateTime.Now.Second);
I keep getting the below error:
Object reference not set to an instance of an object.
I don't know what the problem could be. Can someone help me with this? It
is driving me crazy. The stack info is as follows:
NullReferenceException: Object reference not set to an instance of an object.]
Sonar3.Controls.WeekendEvents.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\sonar3\controls\weekendevents.ascx.cs:41
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
Help!!!!!!!!!!! Please