Exemple #1
0
        protected void GetDataSourceInvoices()
        {
            var lstRoles = (List <Roles>)Session["CCFNRoles"];
            var rolesCSV = "";

            lstRoles.ForEach(rol => rolesCSV += (rol.Name + ", "));
            rolesCSV            = rolesCSV.TrimEnd(',', ' ');
            RadGrid1.DataSource = GeneralBL.GetInvoices(rolesCSV.Contains("ADMINISTRADOR"), ((Users)Session["CCFNUser"]).RFC, txtSerie.Text, txtFolio.Text, dteDesde.SelectedDate, dteHasta.SelectedDate, ((Users)Session["CCFNUser"]).UserId, txtSucursal.Text, txtCodigoCliente.Text, txtRFC.Text);
        }