TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rasmus Flotiin
NA
6
0
Saving a string to a file
Mar 6 2007 4:48 PM
Hey I hope somebody can help. I am trying to save a string to a text file. I am able to creat a file but I dont know how to put the context of the string down to the file. Hope somebody can help. Creating the save file. SaveFileDialog saveCdb = new SaveFileDialog(); saveCdb.Title = "Save Database configuration"; saveCdb.InitialDirectory = @"c:\"; saveCdb.Filter = "All files (*.*)|*.*|All files (*.*)|*.*"; saveCdb.FilterIndex = 2; saveCdb.RestoreDirectory = true; if (saveCdb.ShowDialog() == DialogResult.OK) { saveCdb.FileName= dbtxt.Text; } With kind regards R.F
Reply
Answers (
2
)
Best internet marketing strategies
Implementing the Pluggable Factory Design Pattern in C#