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
Indra R
NA
8
5.1k
How to read xml files from App.config file path?
Sep 12 2013 6:34 AM
I have been on working windows console application to import xml data into database.
I am new to console applications,
I have a task i.e i want to import xml data from folders(which are created and saved xml files ex:c:\Projects\XMLfolder\folder\abc.xml, c:\Projects\XMLfolder\folder1\xyz.xml,)
for this i don't want to hard code, the file path for this just add key/value in the app.config file. Based on file path how to read xml files one by one(if exist file folder) if not exist xml file in current folder go next folder read the file if exist, after completion of reading file in a folder file need to move into another folder based on path mentioned in app.config.
How would i achieve this?
Reply
Answers (
5
)
i have to retrieve the value from sqlserver
Data Access Layer in ASp .Net