C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » XML »

Create xml to provide the working location and the file saving location path


Posted Date: 16 Sep 2009      Posted By: VMRK      Member Level: Silver     Points: 1   Responses: 4



I am writing a C# dotnet application. In that I want to create XML to provide the Working location and the file saving location path. These detials ahve to be from the XML(both the source and target directories)pleas ehlep with code if any




Responses

Author: Lalji    16 Sep 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

you will get idea from this link

location hint from this link

http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.doc/doc/r0006316.htm

more info
http://dotnet.sys-con.com/node/171165



Author: Sudeep Syamnath    16 Sep 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Hello VMRK,

I am assuming that you are writing a windows application.
You can store the data in the Settings.settings file and use the Settings class to access the same.

For eg: If you have given a name "WorkingLocation" then you can access the value you have set using Settings.WorkingLocation

Whatever data you add in the settings file will inturn be added as nodes in the app.config file which is nothing but an xml file.

Best Regards,
Sudeep Syamnath
PS: Please rate the answer



Author: VMRK    16 Sep 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Dear Sudeep, Thanks a lot. can u please share the code if possible.I am new to Windows Appln dev


Author: Sudeep Syamnath    16 Sep 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Hello VMRK,

I have attached a sample project. Please use the same.

Best Regards,
Sudeep Syamnath

PS: Please rate the answer



MyApp.zip
Post Reply
You must Sign In to post a response.
Next : Ienumerator
Previous : Convert xml file in my formet
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use