Mondeo Posted February 25, 2007 Posted February 25, 2007 Is there a simple way to output a datatable to a file, i.e. a text file or XML file etc. Then a simple way to load the file back into a datatable? Thanks Quote
amir100 Posted February 26, 2007 Posted February 26, 2007 There's a method named ReadXML and WriteXML. You could look for them in MSDN. The samples are enough to get you started. The methods are part of the DataSet class. I've been using it to dump my dataset to an XML file and creating my dataset from an XML file. Quote Amir Syafrudin
FZelle Posted March 3, 2007 Posted March 3, 2007 In FW 2.0 they are also part of the DataTable. Quote
amir100 Posted March 5, 2007 Posted March 5, 2007 In FW 2.0 they are also part of the DataTable. I see. I haven't got the chance to go in-depth with 2.0. :) Quote Amir Syafrudin
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.