M
Mike P
I'm executing a stored procedure and trying to return a decimal data
type with 4 decimal places. To do this requires this overload of
SqlParameter :
SqlParameter prmCash = new SqlParameter("@Cash", SqlDbType.Decimal, 9,
ParameterDirection.Output, false,
19, 4, "CASH", DataRowVersion.Current, null);
I'm not too sure whether the last 2 parameters (DataRowVersion and
value) are what I should be using. Can anybody advise me on this?
Cheers,
Mike
type with 4 decimal places. To do this requires this overload of
SqlParameter :
SqlParameter prmCash = new SqlParameter("@Cash", SqlDbType.Decimal, 9,
ParameterDirection.Output, false,
19, 4, "CASH", DataRowVersion.Current, null);
I'm not too sure whether the last 2 parameters (DataRowVersion and
value) are what I should be using. Can anybody advise me on this?
Cheers,
Mike