Ejemplo n.º 1
0
        private void SearchCuocGoi()
        {
            string soDt   = txtSearchPhone.Text.Trim();
            string diaChi = txtSearchAddress.Text.Trim();
            string xeNhan = txtXeNhan.Text.Trim();
            string kenh   = "";

            if (CbkSearchKenh1.Checked)
            {
                kenh = "1;";
            }
            if (CbkSearchKenh2.Checked)
            {
                kenh = kenh + "2;";
            }
            if (CbkSearchKenh3.Checked)
            {
                kenh = kenh + "3;";
            }
            if (CbkSearchKenh4.Checked)
            {
                kenh = kenh + "4";
            }
            grdTimKiemCuocGoi.DataSource = CuocGoi.DIENTHOAI_LayAllCuocGoiChuaGiaiQuyet_V2(kenh, soDt, diaChi, xeNhan);
        }