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
Chris
NA
11
0
How to load an xml file that is in same project?
Nov 17 2006 1:44 PM
How to load an xml file that is in same project? Hey guys, I am new to winforms so please forgive me. I am trying to write to an xml file that I created. The file is in the same project (in the root level of the project, not hidden away in sub folders). However, it bombs out when it tries to find the xml file: Here's the error: {System.IO.FileNotFoundException: Could not find file 'S:\source\cs\sTopGun\CSharp\sBriefcase\BriefcaseSyncNotifier\bin\Debug\SyncSettings.xml Here's my code so far: DataSet xmlDataSet = new DataSet(); StreamReader myStreamReader = new StreamReader("SyncSettings.xml"); xmlDataSet.ReadXml(myStreamReader); myStreamReader.Close(); Thanks for the help!!!
Reply
Answers (
2
)
How to display alerts in smart client applications
change color in datagrid cell in VS.net 2003