C#: How to save/load text?

by 5 replies
6
Hey

I am working on a new software that lets you load your blogs.

I want it so when I select the blog, it'll populate into the text boxes that will appear the settings that the user inputted previously (for example can be the site name, URL, etc)

How can I do this so it can save and load the text to the text boxes in C#?
#programming #save or load #text
  • Have you never programmed before?
    Save to a file or a database and read them back.
    • [1] reply

    • I have to save it to a database? What if the program will have millions of user, thats hosting space I take up.
  • I am a bit confused, are you saying you just want to save the same settings they are using on their blog configuration so that they can see it late ?

    If so you could use SQLite as a NOSQL database which will handle million recrods just fine to save/read the data, however your explainnation is a bit confused and I am unsure of your goal here, perhaps if you could be a bit more clear I could point out a better way to it.

    You could save to a simple file or serialize it to xml as well.
  • If you could be more elaborate of what it is that you need, I would love to help.
  • I ended up using an INI class.

Next Topics on Trending Feed