Exemplo n.º 1
0
    protected void showAllItems()
    {
        gvItemList.DataSource = RequisitionControl.getList(id);
        //GridView1.DataSource = q.ToList();
        gvItemList.DataBind();

        gvItemListView.DataSource = RequisitionControl.getList(id);
        //GridView2.DataSource = q.ToList();
        gvItemListView.DataBind();
    }
Exemplo n.º 2
0
    public List <WCFRequisition_ItemList> getList(string id)
    {
        List <WCFRequisition_ItemList> iList = new List <WCFRequisition_ItemList>();
        List <Requisition_ItemList>    item  = RequisitionControl.getList(Int32.Parse(id));

        foreach (Requisition_ItemList i in item)
        {
            iList.Add(WCFRequisition_ItemList.Make(i.Description, i.RequestedQty, i.UnitOfMeasure, i.Status));
        }
        return(iList);
    }
Exemplo n.º 3
0
 protected void showAllItems()
 {
     gvRequisitionDetailList.DataSource = RequisitionControl.getList(id);
     gvRequisitionDetailList.DataBind();
 }