Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 26th Oct 2012, 08:30 PM   #1
Senior Warrior Member
War Room Member
 
Edwin Torres's Avatar
 
Join Date: 2010
Posts: 1,596
Thanks: 276
Thanked 515 Times in 263 Posts
Default
C#: How to save/load text?
Share on: 
fb share twitter share gplus share more share

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#?

Edwin Torres is offline  
Unread 27th Oct 2012, 06:04 AM   #2
VIP Warrior
War Room Member
 
Join Date: 2006
Location: , , USA.
Posts: 1,795
Thanks: 70
Thanked 287 Times in 259 Posts
Default
Re: C#: How to save/load text?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Edwin Torres View Post

How can I do this so it can save and load the text to the text boxes in C#?
Have you never programmed before?
Save to a file or a database and read them back.
KirkMcD is offline  
Unread 27th Oct 2012, 08:35 AM   #3
Senior Warrior Member
War Room Member
 
Edwin Torres's Avatar
 
Join Date: 2010
Posts: 1,596
Thanks: 276
Thanked 515 Times in 263 Posts
Default
Re: C#: How to save/load text?
Share on: 
fb share twitter share gplus share more share

Originally Posted by KirkMcD View Post

Have you never programmed before?
Save to a file or a database and read them back.

I have to save it to a database? What if the program will have millions of user, thats hosting space I take up.

Edwin Torres is offline  
Unread 27th Oct 2012, 07:01 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: 2012
Posts: 137
Thanks: 15
Thanked 26 Times in 25 Posts
Default
Re: C#: How to save/load text?
Share on: 
fb share twitter share gplus share more share

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)
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.
cgimaster is offline  
Unread 29th Oct 2012, 12:34 AM   #5
Web Developer
 
muddywaters's Avatar
 
Join Date: 2012
Location: Richmond CA
Posts: 49
Thanks: 1
Thanked 3 Times in 3 Posts
Default
Re: C#: How to save/load text?
Share on: 
fb share twitter share gplus share more share

If you could be more elaborate of what it is that you need, I would love to help.
muddywaters is offline  
Unread 29th Oct 2012, 05:59 AM   #6
Senior Warrior Member
War Room Member
 
Edwin Torres's Avatar
 
Join Date: 2010
Posts: 1,596
Thanks: 276
Thanked 515 Times in 263 Posts
Default
Re: C#: How to save/load text?
Share on: 
fb share twitter share gplus share more share

I ended up using an INI class.

Edwin Torres is offline  
Closed Thread


Bookmarks

Tags
save or load, text


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 11:04 AM.