473,387 Members | 1,812 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,387 software developers and data experts.

Best technique to store data locally

Hi,

In my application I have a list view and a tree view.

The tree view allows the user to select different nodes, and then the
listview needs to display items associated with treeview node. Each treeview
node will have different listview items which the user can add and delete
to.

The concept is similar to explorer, when you click on a folder you see the
files in that folder...

I am wondering what is the best way to 'store' the listview items for each
treeview node, so that when the user returns to the node again, the proper
data is displayed. I don't want to have a database just to hold this data.

Thanks

Jun 27 '08 #1
2 1412
Sounds like you should look into xml then.
"Aussie Rules" <au****@nospam.comwrote in message
news:e4**************@TK2MSFTNGP02.phx.gbl...
Hi,

In my application I have a list view and a tree view.

The tree view allows the user to select different nodes, and then the
listview needs to display items associated with treeview node. Each
treeview node will have different listview items which the user can add
and delete to.

The concept is similar to explorer, when you click on a folder you see the
files in that folder...

I am wondering what is the best way to 'store' the listview items for each
treeview node, so that when the user returns to the node again, the proper
data is displayed. I don't want to have a database just to hold this data.

Thanks

Jun 27 '08 #2
I assume this one.

Isolated storage

http://msdn.microsoft.com/en-us/library/bdts8hk0.aspx

Cor

"Aussie Rules" <au****@nospam.comschreef in bericht
news:e4**************@TK2MSFTNGP02.phx.gbl...
Hi,

In my application I have a list view and a tree view.

The tree view allows the user to select different nodes, and then the
listview needs to display items associated with treeview node. Each
treeview node will have different listview items which the user can add
and delete to.

The concept is similar to explorer, when you click on a folder you see the
files in that folder...

I am wondering what is the best way to 'store' the listview items for each
treeview node, so that when the user returns to the node again, the proper
data is displayed. I don't want to have a database just to hold this data.

Thanks
Jun 27 '08 #3

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

Similar topics

4
by: Harold Crump | last post by:
Greetings, I have a requirement of storing some .xml files on a web server. The files will contain financial information like credit card numbers, so I would like to encrypt them. The files...
2
by: Steve | last post by:
I developed a desktop app that reads an XML file into a dataset. (The desktop app has the XML schema built in, so it already knows what format the XML file should be in.) My problem is that I...
14
by: Howard | last post by:
Hi, I recently had a problem where I decided to store objects in a vector. (Previously, I had always stored pointers in vectors). Well, naturally, when storing an object in a vector, using...
2
by: Joe Bloggs | last post by:
I have a general question on best practice regarding data access. I have the code below, a static method defined in a class that I use in a data layer dll. The method takes a string as its...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
7
by: Brian Henry | last post by:
I've never stored a program specific connection string in the web.config file before, is there any information on how to store it there and access it from the app and what would be the best way to...
8
by: Art | last post by:
Hi folks, I'm writing a traditional desktop app using VB.NET and am stumbling over what seems like a very basic question: My app does not need to be connected to a server or another computer....
9
by: david | last post by:
I have a class with some business-logic and with every roundtrip, I need an instance of this class, so I have to create it, every time again. That doesn't seem very efficient. I thought it would...
5
by: gw7rib | last post by:
I'm writing a program which has "notes" - these can appear on the screen as windows with text in. It is possible to create an "index note" - at present, this will contain a list of the titles (or...
1
by: Aussie Rules | last post by:
Hi, In my application I have a list view and a tree view. The tree view allows the user to select different nodes, and then the listview needs to display items associated with treeview node....
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.