public shippersPopup(client.orderManagement.input.shippers.Form1 inParentForm, String inShipperID) { InitializeComponent(); parentForm = inParentForm; ctDynamicsSL.orderManagement.input.shippers.SOShipHeader[] myShippers = parentForm.myShippersService.getSOShipHeaders(inShipperID); this.gvShippers.AutoGenerateColumns = true; this.gvShippers.DataSource = myShippers; }
public ordersPopup(client.orderManagement.input.shippers.Form1 inParentForm, String inOrdNbr) { InitializeComponent(); parentForm = inParentForm; //ordersParams: ORDNBR|value;CUSTID|value;STATUS|value;BEGINDATE|value;ENDDATE|value; System.Data.DataSet dsOrders = parentForm.myOrdersService.getOrders("SEARCH", "1", "100", "ORDNBR|" + parentForm.tbOrdNbr.Text.Trim() + ";" + "CUSTID|" + parentForm.tbCustID.Text.Trim() + ";", "ordNbr"); this.gvOrders.AutoGenerateColumns = true; this.gvOrders.DataSource = dsOrders.Tables[0]; }
public customersPopup(client.orderManagement.input.shippers.Form1 inParentForm, String inBatNbr) { InitializeComponent(); parentForm = inParentForm; //customersParams: CUSTID|value;NAME|value;BILLADDR1|value;BILLCITY|value;BILLSTATE|value;BILLZIP|value;PHONE|value;STATUS|value; System.Data.DataSet dsCustomers = parentForm.myCustomersService.getCustomers("SEARCH", "1", "100", "CUSTID|" + parentForm.tbCustID.Text.Trim() + ";", "custID"); this.gvCustomers.AutoGenerateColumns = true; this.gvCustomers.DataSource = dsCustomers.Tables[0]; }