double array into an XML file
-
Hi all, My question is very simple; I have two arrays : double[] arr1 = new double[] {1,2,3}; double[] arr2 = new double[] {10,20,30}; I want to store to and than read these arrays back from an XML file. Could someone please send a small piece of code written in C#. Thanks. Cengiz EKEN.
-
Hi all, My question is very simple; I have two arrays : double[] arr1 = new double[] {1,2,3}; double[] arr2 = new double[] {10,20,30}; I want to store to and than read these arrays back from an XML file. Could someone please send a small piece of code written in C#. Thanks. Cengiz EKEN.
ceken wrote:
I want to store to and than read these arrays back from an XML file. Could someone please send a small piece of code written in C#.
That's not how things work here. We don't do your work for you. Anyway, you need to be more specific about what you want to do. How should your XML be structured? I suggest that you do some more research, attempt to solve the problem yourself and post again if you encounter any further difficulties. I've just noticed that you posted the same message[^] 2 days ago and were given some help. Why have you posted it again? Why have you failed to act upon the advice you had previously received?
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
-
ceken wrote:
I want to store to and than read these arrays back from an XML file. Could someone please send a small piece of code written in C#.
That's not how things work here. We don't do your work for you. Anyway, you need to be more specific about what you want to do. How should your XML be structured? I suggest that you do some more research, attempt to solve the problem yourself and post again if you encounter any further difficulties. I've just noticed that you posted the same message[^] 2 days ago and were given some help. Why have you posted it again? Why have you failed to act upon the advice you had previously received?
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
Hi, Regarding the help posted 2 days ago, The solution offered in that transaction was not the way that i need, because I used that method before. As for your questions;
`500,525,550,575,600,17425,18000, 4.08,6.96,8.91,7.79,7.72,2.34,4.56` My xml document is given above. I write my arrays comma delimited to xml file but when the array size is large,say 1000000, it becomes cumbersome to write and read back. Because I have to use text processing. So, to overcome such text processing; Is there a way to store to and than read these arrays back from an XML file. Regards Cengiz EKEN
-
Hi, Regarding the help posted 2 days ago, The solution offered in that transaction was not the way that i need, because I used that method before. As for your questions;
`500,525,550,575,600,17425,18000, 4.08,6.96,8.91,7.79,7.72,2.34,4.56` My xml document is given above. I write my arrays comma delimited to xml file but when the array size is large,say 1000000, it becomes cumbersome to write and read back. Because I have to use text processing. So, to overcome such text processing; Is there a way to store to and than read these arrays back from an XML file. Regards Cengiz EKEN
Hi, Regarding the help posted 2 days ago, The solution offered in that transaction was not the way that i need, because I used that method before. As for your questions; 500,525,550,575,17875,17900,17925,17950,17975,18000, 25.998,28.776,22.487,21.561,21.537, My xml document is given above. I write my arrays comma delimited to xml file but when the array size is large,say 1000000, it becomes cumbersome to write and read back. Because I have to use text processing. So, to overcome such text processing; Is there a way to store to and than read these arrays back from an XML file. Regards Cengiz EKEN