Is there a quick and dirty way to dump the contents of a System.Data.DataTable to a text file or some other 'thing' for debugging purposes?
DataTable.WriteXml(string)
will write it to a file...
myDataTable.WriteXml(filename);
It may not be as compact as you could desire, but it'll have the information you need...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With