lorena
Centurion
I recently installed Visual Studio 2003 upgrade and made sure that the .net framework on my computer has been upgraded too.
Now the .aspx page I am working on is giving me a "System.NullReferenceException: Object reference not set to an instance of an object" error.
Here is my code:
It worked in the previous version of Visual Studio.
Any ideas as to why this is happening? I would appreciate any help.
Now the .aspx page I am working on is giving me a "System.NullReferenceException: Object reference not set to an instance of an object" error.
Here is my code:
Visual Basic:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Dim dtmDate As Date
dtmDate = DateTime.Now
txtReqDate.Text = dtmDate.ToShortDateString
success = True
added = True
End Sub
Any ideas as to why this is happening? I would appreciate any help.