private void InsertLoginLog(string strLoginName, string strRoleName) { DateTime dtLoginTime = DateTime.Now; string strLoginIP = Request.UserHostAddress; Tz888.BLL.Login.LoginInfoBLL loginRule = new Tz888.BLL.Login.LoginInfoBLL(); loginRule.CreateLoginLog(strLoginName, strRoleName, dtLoginTime, strLoginIP); }