Solved

Appconfig

Posted on 2006-11-16
4
255 Views
Last Modified: 2010-04-16
I have to retrieve the date from the appconfig file
which is having the file tag format as follows

<date="23/09/06" Counter=1>

and check the date if it is current date increment
the counter otherwise reset the counter to 0.

How can i do this?
0
Comment
Question by:Rahamathulla_J
4 Comments
 
LVL 11

Expert Comment

by:LordWabbit
ID: 17954187
You will have to load to config file seperately as it is readonly on program execution so you will not be able to update the counter.
Rather Create a Simple Class Storing this Data and serialise this to disk
0
 
LVL 9

Accepted Solution

by:
daniel_balla earned 250 total points
ID: 17954218
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now