Solved

Appconfig

Posted on 2006-11-16
4
254 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

12 Experts available now in Live!

Get 1:1 Help Now