protected void btn_Login_Click(object sender, EventArgs e)
    {
        try
        {
            if (IsValidLoginName(txt_LoginName.Text) && IsValidPassword(txt_Password.Text))
            {
                SystemUser oSystemUser = new SystemUser();
                SystemUserBO oSystemUserBO = new SystemUserBO();
                Result oResult = new Result();

                oSystemUser.SystemUserName = txt_LoginName.Text;
                oSystemUser.SystemUserPassword = txt_Password.Text;

                try
                {
                    oResult = oSystemUserBO.SystemUserLogin(oSystemUser);

                    if (oResult.ResultIsSuccess)
                    {
                        //Utils.csIsSystemUser = true;

                        Utils.SetSession(SessionManager.csLoggedUser, oResult.ResultObject);
                        //Utils.SetSession(SessionManager.csFromPage, PageNameManager.csDefault);

                        Response.Redirect(ContainerManager.csMasterContainer+"?option="+OptionManager.csSystemUserMainPage);
                    }
                    else
                    {
                        lbl_Error.ForeColor = Color.Red;
                        lbl_Error.Text = oResult.ResultMessage;
                    }
                }
                catch (Exception oEx1)
                {
                    lbl_Error.ForeColor = Color.Red;
                    lbl_Error.Text = "Login Exception.";
                }
            }
            else
            {
                lbl_Error.ForeColor = Color.Red;
                lbl_Error.Text = "Login Name & Password Required.";
            }
        }
        catch (Exception oEx2)
        {
            lbl_Error.ForeColor = Color.Red;
            lbl_Error.Text = "Login Exception.";
        }
    }