public bool CheckExpireUser(int UserId) { DateTime joingDte= MRB.get_JoingDate(UserId); DateTime expireUsr = joingDte.AddDays(7); if (expireUsr<=DateTime.Now) { return true; } else { MRB.Expire_Reg_Code(UserId); //EXPIRE USER ID CODE return false; }
CodeProject
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)