Ejemplo n.º 1
0
    private void GetUserDefaultRights()
    {
        DataSet GetUserDefaultRight = new DataSet();

        GetUserDefaultRight              = objHotLeadBL.GetMasterRoles();
        Session["MasterRoles"]           = GetUserDefaultRight;
        GridDefaultUserRights.DataSource = GetUserDefaultRight.Tables[0];
        GridDefaultUserRights.DataBind();
    }
Ejemplo n.º 2
0
    private void GetLeadsUserRights(int LocationId)
    {
        DataSet GetLeadsRights = new DataSet();

        GetLeadsRights                   = objHotLeadBL.GetLeadsUserRights((Convert.ToInt32(ddlcenters.SelectedValue)));
        Session["LeadsuserRights"]       = GetLeadsRights;
        GridDefaultUserRights.DataSource = GetLeadsRights.Tables[0];
        GridDefaultUserRights.DataBind();
    }
Ejemplo n.º 3
0
    private void GetUserDefaultRights()
    {
        GridDefaultUserRights.DataSource = null;
        GridDefaultUserRights.DataBind();

        string  CenterValue     = ddlcenters.SelectedValue;
        DataSet GetAllEmployees = new DataSet();

        GetAllEmployees                  = objHotLeadBL.PerocessRightsStatus(Convert.ToInt32(CenterValue.ToString()));
        Session["Employees"]             = GetAllEmployees;
        GridDefaultUserRights.DataSource = GetAllEmployees.Tables[0];
        GridDefaultUserRights.DataBind();
    }