Forums Register Login

about data process

+Pie Number of slices to send: Send
Hi All,
Just want to ask, i want to store all the records from the DB into a String[][] table, and only dealing with that table for the data process.
Not sure that's a good ideaor not.
Can anyone give suggestion. thanks
Li li
+Pie Number of slices to send: Send
Hi li li,


Just want to ask, i want to store all the records from the DB into a String[][] table, and only dealing with that table for the data process.
Not sure that's a good ideaor not.
Can anyone give suggestion. thanks


You are probably better off using one of the Java 2 collections instead of a static array. ArrayList lends itself well for storing table data since it has array characteristics and is dynamic. You just create it once in your model and add to it or take away from it as required. With static arrays, you'll have to keep replacing them as they expand or contract.
Hope this helps,
Michael Morris
I guess I've been abducted by space aliens. So unprofessional. They tried to probe me with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 465 times.
Similar Threads
I am finding difficulty in using CSS with IE.
Working with html Nodes Re phrased
display items using java script
Documentation
regex help
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:59:07.