简体   繁体   中英

vsPackage how to store data

I'm playing around with vspackages. For now I'm asking how I can implement some kind of a data storage.

Is there a visual studio internal database or somthing which commonly does this? I just need it to store some data not much but enough for using very simple small database. Maybe a xml file as storage is a posibility ?

Aside from XML which I believe would be a good choice, you can store some data, such as string values and images, in the Properties section of your Visual Studio project.

Double click on Properties from the Solution Explorer and go to the Resources tab. You can then store data in your Resources file (or you'll be given the option to create one first if it does not exist already)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM