ASP.Net MVC Error converting value null to type System.Decimal Null object cannot be converted to a value type

Last Reply 2 months ago By dharmendr

Posted 2 months ago

Hi,

based upon below url i am going to do save records on database

Save multiple records with uploaded file path for single user using AngularJS in ASP.Net MVC

Currently issue is that it was throwing error if i gave datatype = decimal

if datatype = deciaml value empty then it was throwing error

Error converting value {null} to type 'System.Decimal'

Null object cannot be converted to a value type

Ex:In my case EMI_Id is empty then it was throwing error

This question does not have replies that have been liked.