Click here to Skip to main content
15,912,205 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control Scaling Pin
Christian Graus26-Mar-08 10:56
protectorChristian Graus26-Mar-08 10:56 
GeneralRe: Control Scaling Pin
netJP12L26-Mar-08 11:21
netJP12L26-Mar-08 11:21 
GeneralRe: Control Scaling Pin
Christian Graus26-Mar-08 11:39
protectorChristian Graus26-Mar-08 11:39 
GeneralRe: Control Scaling Pin
netJP12L26-Mar-08 17:38
netJP12L26-Mar-08 17:38 
GeneralCrossing threads problem (editing labels from another thread) Pin
oscarderooij26-Mar-08 10:19
oscarderooij26-Mar-08 10:19 
GeneralRe: Crossing threads problem (editing labels from another thread) Pin
led mike26-Mar-08 10:30
led mike26-Mar-08 10:30 
GeneralRe: Crossing threads problem (editing labels from another thread) Pin
oscarderooij27-Mar-08 5:16
oscarderooij27-Mar-08 5:16 
GeneralRe: Crossing threads problem (editing labels from another thread) Pin
led mike27-Mar-08 5:27
led mike27-Mar-08 5:27 
oscarderooij wrote:
So you mean that I can't create a "background" thread that does something while the main program do the rest?


No, that does not appear to be related in any way to what I said.

oscarderooij wrote:
My project problem is:
I need to create a grid (Xceed GridControl) from a database query. But the query is HUUUUGEEE
so the program takes a huge amount of time to create the grid.


Well that certainly raises the question of why you didn't put that in your first post eh?

oscarderooij wrote:
What I want is to create this grid for the main form in another thread so the main program can keep on going and creating different grids at the same time.


This is a common problem with junior developers. It's called "jumping to conclusions" and in science it's considered "bad".

The common practice solution to your problem is to implement Paging and possible Virtual Mode. If you use those key words in Google you will find much information on the subject. So a search phrase like: MSDN Grid Paging Virtual

Also the actual class name of the Grid control you are using might work better than "Grid" as a keyword.


led mike

GeneraldataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed Pin
Seishin#26-Mar-08 10:04
Seishin#26-Mar-08 10:04 
GeneralRe: dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed Pin
led mike26-Mar-08 10:10
led mike26-Mar-08 10:10 
GeneralRe: dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed Pin
Seishin#26-Mar-08 10:19
Seishin#26-Mar-08 10:19 
GeneralRe: dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed Pin
Not Active26-Mar-08 10:50
mentorNot Active26-Mar-08 10:50 
GeneralRe: dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed Pin
Seishin#26-Mar-08 10:51
Seishin#26-Mar-08 10:51 
GeneralForm position relative to form control Pin
dannytsang26-Mar-08 9:40
dannytsang26-Mar-08 9:40 
GeneralRe: Form position relative to form control Pin
Gareth H26-Mar-08 10:04
Gareth H26-Mar-08 10:04 
GeneralRe: Form position relative to form control Pin
dannytsang27-Mar-08 13:37
dannytsang27-Mar-08 13:37 
Questionc# code request Pin
jadtls26-Mar-08 9:27
jadtls26-Mar-08 9:27 
GeneralRe: c# code request Pin
Giorgi Dalakishvili26-Mar-08 9:45
mentorGiorgi Dalakishvili26-Mar-08 9:45 
QuestionHow to create a progressbar for a web browser control???? Pin
Aditya Baraya26-Mar-08 7:41
Aditya Baraya26-Mar-08 7:41 
AnswerRe: How to create a progressbar for a web browser control???? Pin
Gareth H26-Mar-08 8:53
Gareth H26-Mar-08 8:53 
QuestionHow to extract Ethernet type? [modified] Pin
merh26-Mar-08 6:46
merh26-Mar-08 6:46 
GeneralMessage Closed Pin
26-Mar-08 6:33
dshyryayev26-Mar-08 6:33 
GeneralRe: www.mycoolsoft.net | My first free software:MyShortcuts Pin
Gareth H26-Mar-08 6:52
Gareth H26-Mar-08 6:52 
GeneralRe: www.mycoolsoft.net | My first free software:MyShortcuts Pin
J$26-Mar-08 7:11
J$26-Mar-08 7:11 
GeneralRe: www.mycoolsoft.net | My first free software:MyShortcuts Pin
dshyryayev26-Mar-08 7:42
dshyryayev26-Mar-08 7: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.