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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
DataTable.WriteXml(string)will write it to a file…It may not be as compact as you could desire, but it’ll have the information you need…