querybuilder
querybuilder copied to clipboard
Arithmetic overflow error converting numeric to data type numeric
SqlException (0x80131904): Arithmetic overflow error converting numeric to data type numeric.
Code:
Issue : TotalExperience is a Numeric(3,2) field. please help.
using (TransactionScope scope = new TransactionScope()) { int affected = db.Query("Candidate").Insert(
new
{
TotalExperience = model.TotalExperience
}
);
scope.Complete();
}