protected void btnLogin_Click(object sender, EventArgs e) { try { UserRule objUserRule = new UserRule(); LoginInfo objLoginInfo = objUserRule.LoginRule(txtAccount.Text, txtPassword.Text, chkLogin.Checked, UserTypeList); Redirect(SysVariable.ApplicationPath + "/DeskTop/" + CurrentLayoutPath(objLoginInfo.UserID) + "/Default.aspx"); } catch (Exception objExp) { LogHelper <LogModuleType> .DisposeException(LogModuleType.SupportLog, objExp); } }