Пример #1
0
        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;
            }
        }
Пример #2
0
        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;
            }
        }
Пример #3
0
 internal List <ReportLC> GetDataBayerWise(string buyer)
 {
     return(invoiceDAL.GetDataBayerWise(buyer));
 }