public static float CheckNullFloat(this SqlDataReader dr, int ordinal) { return dr.IsDBNull(ordinal) ? 0 : dr.GetFloat(ordinal); }
Login to post response