protected void ddlBayer_SelectedIndexChanged(object sender, EventArgs e) { var result = _InvoiceDAL.GetDataBayerWise(ddlBayer.SelectedItem.Text); if (result.Count > 0) { var row = result.First(); txtConsignee.Text = row.Consignee; txtNotifyParty.Text = row.NotifyParty; } }
protected void ddlBayer_SelectedIndexChanged(object sender, EventArgs e) { var result = _InvoiceDAL.GetDataBayerWise(ddlBayer.SelectedItem.Text); if (result.Count > 0) { var row = result.First(); txtConsignee.Text = row.Consignee; txtNotifyParty.Text = row.NotifyParty; txtDeliveryAddress.Text = row.Delivery_Address; txtDestination.Text = row.Destination_Address; txtOriginatedCountry.Text = row.Country; txtBuyingDept.Text = row.BuyerDepartment_Name; } }
internal List <ReportLC> GetDataBayerWise(string buyer) { return(invoiceDAL.GetDataBayerWise(buyer)); }