Object Reference Not Set to an Instance of an Object
Posted on 2007-03-20
I keep getting System Null Exception
I have the following in my code-behind
Dim _ecUser As ECS.EC.User
Private ReadOnly Property EbookPolicyAccepted() As DateTime
ElseIf (IsDBNull(Me.EbookPolicyAccepted)) Then
eBookPolicyMessage.Text = "some text here"
and the error I get on the Me.EbookPolicyAccepted is "Object Reference Not Set to an Instance of an Object"
I know that this DateTime fields are all nulls in the Database Table I'm pulling from. This check is inside a repeater.