谁拒绝用户登录 [英] who to deactive user login

查看:95
本文介绍了谁拒绝用户登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家早上好



i希望根据结束日期i取消激活用户登录,我们假设今天是用户从tommarow开始的最后日期他不会登录。如果你这样做,请告诉我任何人

hi good morning to all

i want to deactive user login based on end date i,e let us suppose today is the last date for the user from tommarow onwards he wont be login.how to do this couls you please tell me anyone

推荐答案

是的你可以。试试吧......



Yes u can. try it...

if(DateTime.Now > new DateTime(2013, 1, 25)
{
      MessageBox.Show("Trial Period Expired !");
}
else
{
      // Check User Id & Password
}


这篇关于谁拒绝用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆