Ejemplo n.º 1
0
        private void GetOrderById(string pedidoId, ListBox lbObject)
        {
            DataSet dsPedidoDetalleInfo = DataUtil.FillDataSet(DataBaseQuerys.PedidoCocina(DataUtil.GetInt(pedidoId)), "pedido_detalle");

            foreach (DataRow pedidoDetalleRow in dsPedidoDetalleInfo.Tables["pedido_detalle"].Rows)
            {
                lbObject.Items.Add(DataUtil.GetString(pedidoDetalleRow["Pedido_cantidad"]) + " " +
                                   DataUtil.GetString(pedidoDetalleRow["Descripcion_Producto"]));
            }
        }