Good day everyone,
I have a gridview nested inside a Loggedin Template so when a user logins it will display their own details (name, address etc) When i attempt to run this i get this error message:
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 6: If (HttpContext.Current.User.Identity.IsAuthenticated()) Then
Line 7:
Line 8: e.Values("UserId") = Membership.GetUser().ProviderUserKey
Line 9: e.Values("img_ID") = Request.QueryString("ID")
Line 10: e.Values("CommentDate") = DateTime.Now
I don't know how to resolve this issue, if you would like further information let me know.
Thank you,
L
...
Go to the complete details ...