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
jothi kumar
1.6k
107
56.3k
how to set expired password date in databse in mvc
Aug 9 2014 1:01 AM
hi to all,
Here i using this code to compare current date and expired password date
if (DateTime.Now > userObject.PasswordExpiredDate)
return RedirectToAction("PasswordChange", "Index");
i want to change 30 days once to change the password. now i want to save expired password date in database how to i save it kindly help me
FOR EXAMPLE:
Let consider here i create user 1.6.2014 but i want to save in database 1.7.2014 then only i should compare current date and expired date can you tell how to do?
Reply
Answers (
1
)
Multiple Models in Single View in MVC
how to set navigation