private DataTable GetLoginTable(int LoginId, int AccountTypeId)
    {
        DataTable dtLoginView =  new AdministrationBAL().GetLoginTypeById();

        DataRow[] drLogin = dtLoginView.Select("LoginId=" + LoginId.ToString() + " AND " + "Type=" + AccountTypeId.ToString());

        DataTable dtLogin = null;
        if (drLogin.Length > 0)
        {
            dtLogin = dtLoginView.Clone();

            dtLogin = drLogin.CopyToDataTable();
        }
        else
            dtLogin = dtLoginView.Clone();

        return dtLogin;
    }
    private DataTable GetAccountType(int LoginId)
    {
        DataTable dtAccountType = new AdministrationBAL().GetAccountTypeByLoginView();

        DataRow[] dr = dtAccountType.Select("LoginId=" + LoginId.ToString());

        DataTable dtvalid = dtAccountType.Clone();

        dtvalid = dr.CopyToDataTable();

        return dtvalid;
    }