ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.ASP.Net MVC Error converting value null to type System.Decimal Null object cannot be converted to a value type<p>Hi <a class="username" rel="mahesh213"> mahesh213</a>,</p> <p>Make your EMI_Id nullable. Value null could not be serialized to decimal.</p> <pre class="brush: csharp">public decimal? EMI_Id;</pre> <p>Or you can ignore&nbsp;nulls while Serializing JSON.</p> <pre class="brush: csharp">string jsonString = JsonConvert.SerializeObject(movie, Formatting.Indented, new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore });</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/478304/ASPNet-MVC-Error-converting-value-null-to-type-SystemDecimal-Null-object-cannot-be-converted-to-a-value-type/https://www.aspforums.net:443/Threads/478304/ASPNet-MVC-Error-converting-value-null-to-type-SystemDecimal-Null-object-cannot-be-converted-to-a-value-type/Fri, 16 Aug 2019 04:44:53 GMT