Пример #1
0
    /// <summary>
    /// To load permission details from database
    /// </summary>
    /// <returns></returns>
    private DataTable GetPermissionDetails()
    {
        PermissionBAL PermissionBAL = new PermissionBAL();
        DataTable     DtPerDet      = new DataTable();

        try
        {
            DtPerDet = PermissionBAL.LoadPermission(LoginUser, Ret);
        }
        catch
        {
            throw;
        }
        finally
        {
            PermissionBAL = null;
        }
        return(DtPerDet);
    }
Пример #2
0
    private DataTable getPermissiondetails()
    {
        PermissionBAL p      = new PermissionBAL();
        DataTable     dTable = new DataTable();

        try
        {
            dTable = p.LoadPermission(LoginUser, Ret);
        }
        catch
        {
        }
        finally
        {
            p = null;
        }

        return(dTable);
    }
    private DataTable getPermissiondetails()
    {
        PermissionBAL p = new PermissionBAL();
        DataTable dTable = new DataTable();
        try
        {
            dTable = p.LoadPermission(LoginUser, Ret);
        }
        catch
        {

        }
        finally
        {
            p = null;
        }

        return dTable;
    }
 /// <summary>
 /// To load permission details from database
 /// </summary>
 /// <returns></returns>
 private DataTable GetPermissionDetails()
 {
     PermissionBAL PermissionBAL = new PermissionBAL();
     DataTable DtPerDet = new DataTable();
     try
     {
         DtPerDet = PermissionBAL.LoadPermission(LoginUser, Ret);
     }
     catch
     {
         throw;
     }
     finally
     {
         PermissionBAL = null;
     }
     return DtPerDet;
 }