System.NullReferenceException
I have altered the website to comply with my own database for a project.
I have adapted the code and classes from your book, but I keep getting this error when I try to run the website: System.NullReferenceException
I have looked on Troubleshooting Exceptions, it says: A NullReferenceException occurs when you try to reference an object in your code that does not exist. For example, you may have tried to use an object without using the New keyword first, or tried to use an object whose value is set to null (Nothing in Visual Basic).
I am working on the order.aspx page. The records are pulling through fine, but it stops running as soon as it reaches this error, so I am unable to add anything to the cart.
|