Best Way to Hold Data

Put your problem here if it does not fit any of the other categories.

Best Way to Hold Data

Postby bluestunt » Sat Mar 24, 2012 8:49 pm

In an app I am making I have a table that stores texts. Each row holds a question and options (text), when the user selects one of the options - there are columns for each option that directs the program to a different row in the table to show a new question and the process repeats.

Would it be best to set up a large, constant multi-dimensional array or to use SQL or maybe a text file to store the table?

Thanks
bluestunt
Freshman
Freshman
 
Posts: 2
Joined: Sun Mar 11, 2012 5:03 am

Top

Re: Best Way to Hold Data

Postby vandzi » Mon Mar 26, 2012 7:02 am

If it's only static text and you don't need edit, delete, add new text I would choose array in resource files. It's easier to create and handle
vandzi
Junior Developer
Junior Developer
 
Posts: 20
Joined: Fri Jun 11, 2010 11:31 am
Location: Slovakia

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 17 guests