soniix Posted April 24, 2003 Posted April 24, 2003 i have a small question how can i write only one table from a dataset to an xml file and not the whole dataset, if the dataset contains more than one tables? thnx Quote
Heiko Posted April 24, 2003 Posted April 24, 2003 Doesn't the table object have a corresponding method? If not, you could create a new, empty dataset and add just that single table you want to write to xml. Quote .nerd
Leaders quwiltw Posted April 24, 2003 Leaders Posted April 24, 2003 Create an new dataset and add the table to it would be the easiest way then serialize this new dataset. You could either inherit the DataTable and add this to it or create a helper class so that this "wrapping" is transparent and it looks like you're really writing out just the datatable. Ahhh... Heiko beat me to it:) Quote --tim
soniix Posted April 24, 2003 Author Posted April 24, 2003 ok i´ll try this new dataset thing i hope it will help and after that i can kill the dataset if its unused thnx Quote
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.