Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1929: 'decimal?' does not contain a definition for 'FormatTien' and the best extension method overload 'Utils.FormatTien(string, string)' requires a receiver of type 'string'

Source Error:


Line 60:                                             <h5 class="product-name"><a href="@hangHoa.ToUrl()" title="@hangHoa.Ten">@hangHoa.Ten</a></h5>
Line 61:                                             <div class="content_price">
Line 62:                                                 <span class="price product-price">@hangHoa.Gia.FormatTien()</span>
Line 63: 
Line 64: 

Source File: C:\Web\Web\Trung\charmevietnam.vn\Views\Home\BanChay.cshtml    Line: 62






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3770.0