Hi guys,
I have a problem with my sql database. In my database, column Quantity has a data type of decimal. But why everytime I am trying to insert 1.25 in column quantity, and query it the result is 1. Where's 0.25?
My code for asp.net is:
And for Stored Procedure:Code:decimal qty = decimal.Parse(quantity);
Do I have to use float instead of decimal?Code:@Quantity DECIMAL
Thanks very much in advance




Reply With Quote