private void viewReport() { Transactions.Reports.crPurchaseOrder crPurchaseOrder = new Transactions.Reports.crPurchaseOrder(); Transactions.Reports.dsPurchaseOrder dsPurchaseOrder = new Transactions.Reports.dsPurchaseOrder(); crPurchaseOrder.Database.Tables["purchaseorderdetails_view"].SetDataSource(purchaseOrderDetailBL.List(purchaseOrderInfo.Purchaseorderid)); crvPurchaseOrder.ReportSource = null; crvPurchaseOrder.ReportSource = crPurchaseOrder; crvPurchaseOrder.Refresh(); }
public void loadData(int id) { dgv.DataSource = purchaseOrderDetailBL.List(id); }
private void LoadData() { dgv.DataSource = purchaseOrderDetailBL.List(purchaseOrderEL.Purchaseorderid); }
private void LoadReport() { crPurchaseOrder crPurchaseOrder = new crPurchaseOrder(); crPurchaseOrder.Database.Tables["dtPurchaseorderdetails_view"].SetDataSource(purchaseOrderDetailBL.List(purchaseOrderEL.Purchaseorderid)); crPurchaseOrder.Database.Tables["dtStoreinformation_view"].SetDataSource(storeInformationBL.List()); crvPurchaseOrder.ReportSource = null; crvPurchaseOrder.ReportSource = crPurchaseOrder; crvPurchaseOrder.Refresh(); }