Exemple #1
0
//----------------------Bibding datatgrid with data-------------------------------------------------------------------//
        protected void BindGrid(int avRId)
        {
            AVRequest aVRequest = InventoryLogic.GetAdjustmentVoucherRequest(avRId);
            List <AVRequestDetail> aVRDetaillist = InventoryLogic.GetAdjustmentVoucherDetailsList(avRId);

            statusView(aVRequest);
            GridViewAdjVoucher.DataSource = aVRDetaillist;
            GridViewAdjVoucher.DataBind();
        }
        protected void BindGird(int avRId)
        {
            AVRequest aVRequest = InventoryLogic.GetAdjustmentVoucherRequest(avRId);
            List <AVRequestDetail> aVRDetaillist = InventoryLogic.GetAdjustmentVoucherDetailsList(avRId);

            //Set the approriate display
            RequestOrProcessedView(aVRequest);
            GridViewAdjV.DataSource = aVRDetaillist;
            GridViewAdjV.DataBind();
        }