Suppose a user wants to allow entry of credit card expiration dates in the two digit year format of MM/yy. Conversion of the textual date (like 03/06) to a DateTime structure behaves unexpectedly when using Convert.ToDateTime. Is this a bug in the ToDateTime method?
We are wrestling with an intermittent database error and would like to be able to capture some specific data when the error occurs. We are trying to grab as much state information from a SqlDataReader object as possible. Unfortunately (for our cause here), the data reader is sealed ...