473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Save an array

Hi what is the best way to store a multi dimentional array for later. I
dont know the 'shape' of the array in advance. Is writing to an XML file
the best option ar are there better ways ?

--
Arjen
http://www.hondenpage.com
Jan 25 '07 #1
2 2427
Rik
On Thu, 25 Jan 2007 21:45:43 +0100, Floortje <la**@zingmaarmetmijmee.enel>
wrote:
Hi what is the best way to store a multi dimentional array for later. I
dont know the 'shape' of the array in advance. Is writing to an XML file
the best option ar are there better ways ?
Depends on what you're using it for.
Serialize() is a nice method.

--
Rik Wasmus
Jan 25 '07 #2
Rik schreef:
On Thu, 25 Jan 2007 21:45:43 +0100, Floortje
<la**@zingmaarmetmijmee.enelwrote:
>Hi what is the best way to store a multi dimentional array for later.
I dont know the 'shape' of the array in advance. Is writing to an XML
file the best option ar are there better ways ?

Depends on what you're using it for.
Serialize() is a nice method.
Ic it is im gonna give that a try !.. had never heard of it before :-)

What Im using it for needs a little explenation. Im a psychologist
working at the Erasmus University. Currently im writing a script that
can combine all data known on students (grades,iq,gender,and lots more)
from a growing number of databases for research purposes. I need to save
the configuration of the combination of databases and settings on wich a
researcher has been working.

Kinda like a phpmyadmin for dummies with a save settings option :-g

currenty im storing the configuration in a session just to see if it
works :-)

--
Arjen
http://www.hondenpage.com
Jan 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andy Jacobs | last post by:
Hi, I have a row in a DataTable that contains colums of identifying data and I need to save a bitmap in that row. (I'm going to write the entire DataSet to disk as XML to be used by another...
9
by: Ivan Demkovitch | last post by:
Hi! I would like to know if I can save File on Server using server-side code? For example, I like to create thumbnail images and populate specific directory. Do I need specific permissions...
3
by: Stefano | last post by:
I've a form windows with a lot of textbox controls. How can I do if I have to save all text proprety of this controls in an external file, to reload them in future?
5
by: Henry Wu | last post by:
Hi, I was wondering if I could save all of the controls in a tabcontrol for example, complete with the controls' name, text, value, position, size, etc.. Then when the user opens the application...
4
by: Eomer | last post by:
How do i save an int value or an array to a .txt file? which file to include? what is the function? what is the syntax? what are the common problems? Thanks in advance, Eomer
2
by: Chris | last post by:
How do I save an array of bytes to a file? I am binding a update parameter to a fileupload control. It passes the file to my object as a Filebytes datatype. I am assuming it is just an array of...
2
by: mpreisdorf | last post by:
I want to save the raw data of a class (without the .NET object overhead) to a binary file. For example: ref class Test { public: String^ name; Int32 number; ..... }
3
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
I'm having the wierdest problem. I'm trying to save images into a SQL 2005 database. the field is just called "IMAGES" and hte data type is "image". here is my code to save //following code...
10
by: Gilles Ganault | last post by:
Hello Out of curiosity, is there a smarter, easier way to read data sent by a form, and save them into a database? I have about 20 fields, and it'd be easier if I could just use a loop to go...
8
by: anandmms | last post by:
Hello friend, my problem is to save more than one fingerprint images in one byte array and then store in database(oracle). i dont know how to solve it. But previously i had did image saving...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.