Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
how to solve this "Conversion from type "DBNULL" to type Integer".
I cannot insert data to database according to this error.
Help me.
Please give me the best ways for me.
Posted
Comments
Thanks7872 1-Dec-13 23:46pm    
Where is the code?

the value of the parameter you are trying to insert to the database is null so its throwing the error. debug the code and check for null value.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900