Click here to Skip to main content
       

C#

 
GeneralHow can i Develop intelligent character recognition (icr) using C3 windows application PinmemberRameshkannabravo29-Dec-12 8:24 
GeneralRe: How can i Develop intelligent character recognition (icr) using C3 windows application PinmemberPIEBALDconsult29-Dec-12 10:46 
GeneralRe: How can i Develop intelligent character recognition (icr) using C3 windows application PinmvpRichard MacCutchan29-Dec-12 21:30 
QuestionFill Combobox with Large amount of Data PinmemberMohamed Nabawy29-Dec-12 3:17 
i have more than 55000 Customer and i wanna Fill Combobox with this customers quick .. there is any way
to load form quickly and to enter Combobox quickly
** i use background worker but this hang my form and my app is run slowly can i use threading and how
i want solutin plz
 
   
 private void backWork_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            if (e.Cancelled)
            {
            }
            else
            {
               FillComboBox();
               cmb3ameelname.Focus();
               Loadform = true;
               cmb3ameelname.SelectedItem = null;
               cmbLandTele.SelectedItem = null;
            }
        }
 
 private void backWork_DoWork(object sender, DoWorkEventArgs e)
        {
            CusLis = CustomerManger.SelectCustomersAll();
        }
 

void FillComboBox()
    {
      cmbameelname.DataSource = CusLis;
      cmbameelname.DisplayMember = "CustName";
     cmbameelname.ValueMember = "CustId";
   }
 
frm_load()
   {
       this.backWork.DoWork += new DoWorkEventHandler(this.backWork_DoWork);
 
        this.backWork.RunWorkerCompleted+=new RunWorkerCompletedEventHandler(this.backWork_RunWorkerCompleted);
 
      this.backWork.RunWorkerAsync();
   }
 

 

AnswerRe: Fill Combobox with Large amount of Data PinmemberEddy Vluggen29-Dec-12 3:36 
GeneralRe: Fill Combobox with Large amount of Data PinmemberMohamed Nabawy29-Dec-12 23:53 
AnswerRe: Fill Combobox with Large amount of Data PinmvpOriginalGriff29-Dec-12 4:08 
GeneralRe: Fill Combobox with Large amount of Data PinmemberMohamed Nabawy29-Dec-12 23:56 
AnswerRe: Fill Combobox with Large amount of Data PinmemberSledgeHammer0129-Dec-12 8:02 
GeneralRe: Fill Combobox with Large amount of Data PinmemberMohamed Nabawy29-Dec-12 23:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 23 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid