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
Enos
NA
140
26.2k
How to save resource file to a drive.
Feb 9 2015 6:30 AM
Hi,
Am trying to save resource file to any directory but it is throwing an error. It says, V
erify that the correct file name was given.
here is my codding,
string PathSelection = "";
SaveFileDialog saveFileDialog1 = new SaveFileDialog();
saveFileDialog1.Title = "Save Resource Files";
saveFileDialog1.Filter = "Save Resource Files (*.resx)|*.resx";
saveFileDialog1.FilterIndex = 1;
saveFileDialog1.RestoreDirectory = true;
if (saveFileDialog1.ShowDialog() == DialogResult.OK) //it breaks on this line
{
string path = saveFileDialog1.FileName;
//oDataSet.WriteXml(path);
}
Reply
Answers (
2
)
how to ListBox inside using Checkbox Load in asp.net C#
how to validate a correct email