private void PoDetails(Int64 id) { DataTable ds = new DataTable(); ds = ClsPurchaseInvoice.Get_PurchaseOrderForInvoice(id); GvwSaleseOrderDetails.DataSource = ds; GvwSaleseOrderDetails.DataBind(); }
private void SoDetails(Int64 id) { DataTable ds = new DataTable(); ds = ClsSalesRegister.Get_SalesOrderforApproval(id); GvwSaleseOrderDetails.DataSource = ds; GvwSaleseOrderDetails.DataBind(); }
private void SoDetails(Int64 id) { DataTable ds = new DataTable(); ds = ClsSalesManagerChecking.Get_SoDetailsFor_MaterialDispatch(id); GvwSaleseOrderDetails.DataSource = ds; GvwSaleseOrderDetails.DataBind(); }
private void SoDetails(Int64 id) { DataTable ds = new DataTable(); ds = ClsSalesManagerChecking.Get_SalesOrderforApproval(id); GvwSaleseOrderDetails.DataSource = ds; GvwSaleseOrderDetails.DataBind(); for (int i = 0; i < ds.Rows.Count; i++) { if (ds.Rows.Count > 0) { GvwSaleseOrderDetails.Rows[i].Cells[3].BackColor = System.Drawing.Color.Yellow; } } }
private void GetSalesManager() { DataTable ds = new DataTable(); try { ds = ClsPurchaseInvoice.Get_PurchaseOrderForInvoice(value); GvwSaleseOrderDetails.DataSource = ds; GvwSaleseOrderDetails.DataBind(); ViewState["Data"] = ds; ds.Dispose(); if (ViewState["PageINdex"] != null) { GvwSaleseOrderDetails.PageIndex = Convert.ToInt32(ViewState["PageINdex"].ToString()); } } catch (Exception ex) { } }
private void LoadGridDetails() { DataTable DtDetails = new DataTable(); try { DtDetails = ClsMaster.Get_Salesdetails(value); int count = DtDetails.Rows.Count; double total = Convert.ToDouble(DtDetails.Rows[count - 1]["SO_TotalPrice"].ToString()); lblTotalinrs.Text = lblTotalinrs.Text + AmountInWords(Convert.ToDecimal(total)); GvwSaleseOrderDetails.DataSource = DtDetails; GvwSaleseOrderDetails.DataBind(); ViewState["Data"] = DtDetails; DtDetails.Dispose(); if (ViewState["PageINdex"] != null) { GvwSaleseOrderDetails.PageIndex = Convert.ToInt32(ViewState["PageINdex"].ToString()); } //CreateTax(); } catch (Exception ex) { } }