I have to set 3 decimal place in SQL Server 2005.i can set it from only model part .But In sql server set datatype of Salary
property is decimal
.
When I set like
public decimal Salary { get; set; }
It would be saved to the database like 21000.000 not 21000. If I put 30000.75, then it would be saved to 30000.750.