// Cargar Pedidos Pendientes protected void CargarPedidosPendientes() { Cliente cliente = new Cliente(); cliente = (Cliente)Session["Usuario"]; List <Pedido> listadoVentasPendientes = new List <Pedido>(LogicaPedido.Pendientes(cliente.Documento)); GridPedidos.DataSource = listadoVentasPendientes; GridPedidos.DataBind(); }