Click here to Skip to main content
16,006,749 members
Home / Discussions / C#
   

C#

 
GeneralRe: Scrool a Textbox Pin
Pete O'Hanlon24-Oct-08 5:04
mvePete O'Hanlon24-Oct-08 5:04 
GeneralRe: Scrool a Textbox Pin
DaveyM6924-Oct-08 5:59
professionalDaveyM6924-Oct-08 5:59 
QuestionFill datasource what are binded to control what located on different form!!! Pin
El'Cachubrey24-Oct-08 2:37
El'Cachubrey24-Oct-08 2:37 
AnswerRe: Fill datasource what are binded to control what located on different form!!! Pin
Wendelius24-Oct-08 8:12
mentorWendelius24-Oct-08 8:12 
GeneralRe: Fill datasource what are binded to control what located on different form!!! Pin
El'Cachubrey24-Oct-08 20:43
El'Cachubrey24-Oct-08 20:43 
GeneralRe: Fill datasource what are binded to control what located on different form!!! Pin
Wendelius25-Oct-08 2:04
mentorWendelius25-Oct-08 2:04 
GeneralRe: Fill datasource what are binded to control what located on different form!!! [modified] Pin
El'Cachubrey26-Oct-08 21:37
El'Cachubrey26-Oct-08 21:37 
GeneralRe: Fill datasource what are binded to control what located on different form!!! Pin
Wendelius27-Oct-08 8:59
mentorWendelius27-Oct-08 8:59 
As I said in the first post, the scenarios are not the same.

In your first example you fill the dataset. So it seems that you don't have a datatable in the dataset, but it's created during fill.

In the second example, you already have a datatable and you're filling it. So it makes me wonder if you have existing event handlers, binding etc. attached to the datatable. If so, they can be the cause to the slow fill. Especially if binding is involved since existing binded objects must be refreshed when binding is done. This wouldn't be the case in example 1.

Without seeing the actual situation, it's merely guessing. However, the filling speed should be equal in both cases if the query is the same and the 'surroundings' are the same (eventhandlers etc)

The need to optimize rises from a bad design.

My articles[^]

QuestionDesign pattern ask for advice Pin
George_George24-Oct-08 1:21
George_George24-Oct-08 1:21 
AnswerRe: Design pattern ask for advice Pin
Ennis Ray Lynch, Jr.24-Oct-08 3:07
Ennis Ray Lynch, Jr.24-Oct-08 3:07 
GeneralRe: Design pattern ask for advice Pin
George_George25-Oct-08 0:31
George_George25-Oct-08 0:31 
AnswerRe: Design pattern ask for advice Pin
led mike24-Oct-08 4:40
led mike24-Oct-08 4:40 
GeneralRe: Design pattern ask for advice Pin
Mark Salsbery24-Oct-08 5:21
Mark Salsbery24-Oct-08 5:21 
GeneralRe: Design pattern ask for advice Pin
led mike24-Oct-08 6:12
led mike24-Oct-08 6:12 
GeneralRe: Design pattern ask for advice Pin
George_George25-Oct-08 0:33
George_George25-Oct-08 0:33 
GeneralRe: Design pattern ask for advice Pin
George_George25-Oct-08 0:32
George_George25-Oct-08 0:32 
AnswerRe: Design pattern ask for advice Pin
led mike24-Oct-08 6:32
led mike24-Oct-08 6:32 
GeneralRe: Design pattern ask for advice Pin
George_George25-Oct-08 0:34
George_George25-Oct-08 0:34 
QuestionHow to scroll a listview with scrollable property disabled Pin
vayanan24-Oct-08 0:02
vayanan24-Oct-08 0:02 
AnswerRe: How to scroll a listview with scrollable property disabled Pin
AhsanS24-Oct-08 0:11
AhsanS24-Oct-08 0:11 
GeneralRe: How to scroll a listview with scrollable property disabled Pin
vayanan24-Oct-08 0:16
vayanan24-Oct-08 0:16 
GeneralRe: How to scroll a listview with scrollable property disabled Pin
AhsanS24-Oct-08 0:35
AhsanS24-Oct-08 0:35 
AnswerRe: How to scroll a listview with scrollable property disabled Pin
Eddy Vluggen24-Oct-08 0:15
professionalEddy Vluggen24-Oct-08 0:15 
AnswerRe: How to scroll a listview with scrollable property disabled Pin
Simon P Stevens24-Oct-08 0:37
Simon P Stevens24-Oct-08 0:37 
QuestionBeginReceive: How do I get out of the thread when reachig callback function? Pin
Kurt23-Oct-08 23:41
Kurt23-Oct-08 23:41 

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.