On Sat, 27 Sep 2003 00:32:36 -0400, "Greg Ewing [MVP]"
<gewing@_NO_SPAM_gewing.com> wrote:
/steveA, two quick options, you can put a break point right before the call
to your exception throwing function or put some debug statements which spit
out the variables being passed.
Let me be more precise. I have a dataset where I have "dynamically" constructed
a table, including a column of type System.DateTime. I then call ds.ReadXml()
to process the input. Unless code is available for this, I can't step into it,
nor do a quickwatch. If I set debug to halt on a thrown exception, the stack
shows a call to DateTime.ParseExact() on top - but there is no way to examine
the variables (I think it might be because the exception is on its way out).
Anyway, if instead, I do a table.Rows.Add( new Object[] {...} ) of the same
strings from the xml message, this works fine! gag!
Is this a feature or bug of ReadXml? I'd like to know what the other parameters
are to the ParseExact()...
/steveA