I find using the following works quite well for SQL min/max dates after many DB related errors:
DateTime rngMin = (DateTime)System.Data.SqlTypes.SqlDateTime.MinValue; DateTime rngMax = (DateTime)System.Data.SqlTypes.SqlDateTime.MaxValue;
I find using the following works quite well for SQL min/max dates after many DB related errors:
DateTime rngMin = (DateTime)System.Data.SqlTypes.SqlDateTime.MinValue; DateTime rngMax = (DateTime)System.Data.SqlTypes.SqlDateTime.MaxValue;