public static decimal CheckNullDecimal(this SqlDataReader dr, int ordinal) { return dr.IsDBNull(ordinal) ? decimal.Zero : dr.GetDecimal(ordinal); }
Login to post response