Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with merging 2 DataTables Pin
lsconyer7-Apr-08 2:17
lsconyer7-Apr-08 2:17 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo7-Apr-08 2:29
kallileo7-Apr-08 2:29 
GeneralRe: Problem with merging 2 DataTables Pin
lsconyer7-Apr-08 2:39
lsconyer7-Apr-08 2:39 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo7-Apr-08 2:49
kallileo7-Apr-08 2:49 
GeneralRe: Problem with merging 2 DataTables Pin
lsconyer7-Apr-08 2:54
lsconyer7-Apr-08 2:54 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo7-Apr-08 3:11
kallileo7-Apr-08 3:11 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo10-Apr-08 3:20
kallileo10-Apr-08 3:20 
QuestionC#:How to load max no of records in a combobox(more than 40000) Pin
kssknov7-Apr-08 1:18
kssknov7-Apr-08 1:18 
hi I am using a combobox to load items using datatable. i am using sqlserver2005.when i tried to load a count of 32500 rows in a combobox , my application hangs more than for 5 min.

Any body give me solution.
Below is my code:


<br />
private void _popItemCombo() //To load itemcode combobox <br />
        {<br />
            clsGrpObj = new clsGroupManip();<br />
            clsDataAccObj = new clsGloDataAcces();<br />
//code to populate datatable Item table<br />
            dtItem = new DataTable(); //stores item * datas<br />
            dtItem = clsGrpObj._selItem_Assembly();<br />
            for (int i = 0; i < dtItem.Rows.Count - 1; i++)<br />
            {<br />
                string item = dtItem.Rows[i]["ItemCode"].ToString();<br />
                cmbItemCode.Items.Add(item); // code to pop combobox with datas.<br />
            }<br />
           <br />
        }<br />


help me,

Thank u

kssk

GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
darkelv7-Apr-08 1:37
darkelv7-Apr-08 1:37 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
kssknov7-Apr-08 1:42
kssknov7-Apr-08 1:42 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
Ashfield7-Apr-08 1:50
Ashfield7-Apr-08 1:50 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
darkelv7-Apr-08 2:36
darkelv7-Apr-08 2:36 
QuestionVery trivial question.. Pin
ptr2void7-Apr-08 0:51
ptr2void7-Apr-08 0:51 
GeneralRe: Very trivial question.. Pin
Xmen Real 7-Apr-08 0:59
professional Xmen Real 7-Apr-08 0:59 
QuestionRe: Very trivial question.. Pin
ptr2void7-Apr-08 1:08
ptr2void7-Apr-08 1:08 
GeneralRe: Very trivial question.. Pin
Xmen Real 7-Apr-08 1:18
professional Xmen Real 7-Apr-08 1:18 
GeneralProblem with printdialog Pin
D i x y7-Apr-08 0:31
D i x y7-Apr-08 0:31 
GeneralRe: Problem with printdialog Pin
Xmen Real 7-Apr-08 0:53
professional Xmen Real 7-Apr-08 0:53 
GeneralRe: Problem with printdialog Pin
D i x y7-Apr-08 1:31
D i x y7-Apr-08 1:31 
GeneralRe: Problem with printdialog Pin
Xmen Real 7-Apr-08 1:40
professional Xmen Real 7-Apr-08 1:40 
QuestionAdding hex values Pin
ONeil Tomlinson7-Apr-08 0:23
ONeil Tomlinson7-Apr-08 0:23 
GeneralRe: Adding hex values Pin
Christian Graus7-Apr-08 0:25
protectorChristian Graus7-Apr-08 0:25 
GeneralRe: Adding hex values Pin
ONeil Tomlinson7-Apr-08 3:07
ONeil Tomlinson7-Apr-08 3:07 
GeneralRe: Adding hex values Pin
Dave Kreskowiak7-Apr-08 4:19
mveDave Kreskowiak7-Apr-08 4:19 
GeneralGet the SID of the user last wrote to a file Pin
Yevgeny Efter6-Apr-08 23:58
Yevgeny Efter6-Apr-08 23:58 

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.