Dear Friends,
Am working on Asp.net , c#, SQLSERVER 2005.
In my project, A message must be displayed to user if his password expires.
I have a Registration(Add new user) webform in my project. in that i have fields
Firstname, Lastname,DisplayName,Username,Password,IssueDate,ExpiryDate.
While creating New User, Administrator will enter all information of user FN,LN,DN,Username,Pwd,IssueDate,ExpDate.
Generally the issue date will be default like this 19/07/2012(System date) and the admin need to enter only Expiry year like this 2013.
Suppose, if the user passed the year 2013. a message must be displayed while login
"your Password has Expired, Please contact Administrator"
Please help me , how to solve this.
Thanks in ADVANCE.
Tags: C#, ASP.NET, SQL Server