Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding"


C#
private void FillInvoiceNo()
        {
            try
            {
                if (_custid > 0 && _branchid > 0)
                {
                    //_Invoiclst = accobj.GetInvoiceByCustomerID(56, 0, 1, 2).EntityList;
                    _Invoiclst = accobj.GetInvoiceByCustomerID(_custid, _VoucherID, ConstStrings.CompanyID, _branchid).EntityList;
                    cboInvoice.DataSource = _Invoiclst;
                    cboInvoice.DisplayMember = "InvoiceNo";
                    cboInvoice.ValueMember = "InvoiceID";
                }

            }
            catch (Exception ex)
            {
                ShowInfoMessage(ex.Message);
            }
        }
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900