المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Date check



C# Programming
05-30-2009, 12:12 AM
Hi Bros,

I have noticed in certain trial applications, that after a specific amount of use, the app. just fails to process requests any further since the trial period gets expired.

However, in my application, I want that if the date of executing the application is 15 /* just for instance */ then, something like this should happen:

//This is pseudo code. Got nothing to do with original C# code// Just for logic//

if (current.date=15)
{
//set of statements to be executed
}
else
{
//process task as usual
}


Any ideas how to do this in C#? Help will truly be appreciated! http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif

Rajdeep Bhattacharjee,
MVP (Microsoft Corporation)
Always ready to be helped and be helped....