Exemplo n.º 1
0
        private void TBPostCodeSearch_TextChanged(object sender, EventArgs e)
        {
            string txt = TBPostCodeSearch.Text.Trim();

            if (!String.IsNullOrEmpty(txt))
            {
                List <HistoryModel> lm = CustomerHistoryDA.SearchCustomerHistoryByPostCode(Config.VBR4000Connection, txt);
                BindList(lm);
            }
        }