Click here to Skip to main content
15,886,578 members
Home / Discussions / C#
   

C#

 
GeneralRe: Registering an ActiveX DLL or OCX Pin
mikasa8-Jan-03 3:20
mikasa8-Jan-03 3:20 
GeneralRe: Registering an ActiveX DLL or OCX Pin
mikasa8-Jan-03 4:11
mikasa8-Jan-03 4:11 
GeneralActive Directory - Change and Adding users Pin
Mauricio Ritter7-Jan-03 1:12
Mauricio Ritter7-Jan-03 1:12 
GeneralRe: Active Directory - Change and Adding users Pin
Mazdak8-Jan-03 7:20
Mazdak8-Jan-03 7:20 
GeneralRe: Active Directory - Change and Adding users Pin
Mauricio Ritter8-Jan-03 7:21
Mauricio Ritter8-Jan-03 7:21 
QuestionHow can build an exe file by VS .NET to execute it on Windows_98? Pin
Behzad Ebrahimi7-Jan-03 0:15
Behzad Ebrahimi7-Jan-03 0:15 
AnswerRe: How can build an exe file by VS .NET to execute it on Windows_98? Pin
Heath Stewart7-Jan-03 3:25
protectorHeath Stewart7-Jan-03 3:25 
GeneralComboBox & Dataset with huge data Pin
jpeg6-Jan-03 23:19
jpeg6-Jan-03 23:19 
I've got a huge database table (near 50000 records) and I want to use a ComboBox to select one of this records. First, I've used a DataSet like this :

<br />
DataSet ds=LoadArticlesDataSet(); // load my dataset from db<br />
this.comboArticles.DataSource=ds.Tables[0];<br />
this.comboArticles.DisplayMember="code_ne"; // column name is code_ne<br />


But the data loading was too long :
- LoadArticles took 3/4 seconds
- this.comboArticles.DataSource took 3/4 seconds
- this.comboArticles.DisplayMember took 3/4 seconds too.

To reduce the combo's time loading, I chose to construct the ComboBox at the start of the program in another class named CDataBase :

<br />
public FArticle(CDataBase db)<br />
{<br />
     InitializeComponent();<br />
     this.panel.Controls.Add(db.comboArticles);<br />
}<br />


Unfortenately, the first form's painting still takes 4/5 seconds.

Do you have a solution to make the ComboBox faster or do you know another control which could be used instead of the standard one ?
For example, Have you ever seen an Access-like combo control which shows only a part of its items and has an auto-completion ?

Thanks !





jpeg
GeneralRegister a C# dll in Excel Pin
Donald Blachly6-Jan-03 19:41
Donald Blachly6-Jan-03 19:41 
GeneralObfuscation (or "what MS forgot") Pin
Bog6-Jan-03 19:15
Bog6-Jan-03 19:15 
GeneralRe: Obfuscation (or "what MS forgot") Pin
Wesner Moise6-Jan-03 19:27
Wesner Moise6-Jan-03 19:27 
GeneralRe: Obfuscation (or "what MS forgot") Pin
Victor Vogelpoel7-Jan-03 0:16
Victor Vogelpoel7-Jan-03 0:16 
GeneralRe: Obfuscation (or "what MS forgot") Pin
leppie7-Jan-03 6:06
leppie7-Jan-03 6:06 
GeneralRe: Obfuscation (or "what MS forgot") Pin
Victor Vogelpoel7-Jan-03 11:29
Victor Vogelpoel7-Jan-03 11:29 
QuestionGetting to the raw Socket from an HttpRequest? Pin
Chris Hansson6-Jan-03 17:15
Chris Hansson6-Jan-03 17:15 
AnswerRe: Getting to the raw Socket from an HttpRequest? Pin
Stephane Rodriguez.6-Jan-03 19:19
Stephane Rodriguez.6-Jan-03 19:19 
Questionhow to move the position of selected item in a listbox? Pin
fretre6-Jan-03 15:17
fretre6-Jan-03 15:17 
Generalclock function help Pin
jtmtv186-Jan-03 15:15
jtmtv186-Jan-03 15:15 
QuestionRecursive limit? Pin
leppie6-Jan-03 11:44
leppie6-Jan-03 11:44 
AnswerRe: Recursive limit? Pin
Andres Manggini6-Jan-03 12:01
Andres Manggini6-Jan-03 12:01 
GeneralRe: Recursive limit? Pin
leppie6-Jan-03 19:41
leppie6-Jan-03 19:41 
GeneralRe: Recursive limit? Pin
Andres Manggini7-Jan-03 7:17
Andres Manggini7-Jan-03 7:17 
GeneralRe: Recursive limit? Pin
leppie7-Jan-03 7:44
leppie7-Jan-03 7:44 
GeneralRe: Recursive limit? Pin
Andres Manggini7-Jan-03 8:50
Andres Manggini7-Jan-03 8:50 
GeneralFileSystemWatcher won't work with IIS Log Files Pin
Steve Cox6-Jan-03 10:42
Steve Cox6-Jan-03 10:42 

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

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