// Cargar Pedidos Pendientes protected void CargarPedidosPendientes() { try { List <Pedido> listadoVentasPendientes = new List <Pedido>(LogicaPedido.PendientesTodos()); GridPedidos.DataSource = listadoVentasPendientes; GridPedidos.DataBind(); } catch (Exception) { throw; } }