E-Books to your Email

SqlNullValueException: Data is Null. This method or property cannot be called on Null values


Question: How do you solve this Error, "

SqlNullValueException: Data is Null. This method or property cannot be called on Null values"





Jim said:

The issue is because the data you are trying to retreive from the database has null values hence you are calling .ToList() on it. This will throw an error.

Posted On: February 18, 2022 14:45:52 PM

© 2023 - ErnesTech - Privacy
E-Commerce Return Policy