Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
QuestionHow to read bounced mail custom header .net 1.1 (POP3 server) [modified] Pin
cshelva16-Feb-10 0:28
cshelva16-Feb-10 0:28 
QuestionHow to install .Net Framework with my C# application ? Pin
CoderForEver15-Feb-10 23:06
CoderForEver15-Feb-10 23:06 
AnswerRe: How to install .Net Framework with my C# application ? Pin
#realJSOP15-Feb-10 23:13
professional#realJSOP15-Feb-10 23:13 
QuestionRe: How to install .Net Framework with my C# application ? Pin
Wamuti16-Feb-10 0:52
Wamuti16-Feb-10 0:52 
AnswerRe: How to install .Net Framework with my C# application ? Pin
SeMartens16-Feb-10 0:56
SeMartens16-Feb-10 0:56 
AnswerRe: How to install .Net Framework with my C# application ? Pin
#realJSOP16-Feb-10 1:06
professional#realJSOP16-Feb-10 1:06 
GeneralRe: How to install .Net Framework with my C# application ? Pin
Mouldiwarp16-Feb-10 4:56
Mouldiwarp16-Feb-10 4:56 
QuestionDisplaying Data in a DataGrid while still reading from the database Pin
hoernchenmeister15-Feb-10 22:41
hoernchenmeister15-Feb-10 22:41 
Good morning all,
I am currently trying to accomplish the following task:
I have to read some hundred thousand records from the database and display them in a datagrid.
The problem is that the data gets displayed after the read is completely done.

What I want to do is to show the data while it is still pulled from the database.
I tried DataSets, LinQ and some other things, but what these tries had in common was that the data was displayed after the read was completed (which took some time)

The only thing that brought me close to what I want to do was the following:
I used a DataReader in a BackgroundWorker that stuffed items into a BindingList<item> that serves the grid as datasource using the ReportProgress-Event, all within the reader.Read() loop.
Looks good to me and suits the needs so far.

Now I am interested if this solution is something someone should do, or if there is some approach that fits better, archiving the same goal. Maybe I missed something Wink | ;)

Any ideas, hints, tips are highly appreciated Smile | :)

Thanks in advance and have a good day,
best regards
Hoernchenmeister
AnswerRe: Displaying Data in a DataGrid while still reading from the database Pin
OriginalGriff15-Feb-10 23:02
mveOriginalGriff15-Feb-10 23:02 
GeneralRe: Displaying Data in a DataGrid while still reading from the database Pin
hoernchenmeister15-Feb-10 23:15
hoernchenmeister15-Feb-10 23:15 
GeneralRe: Displaying Data in a DataGrid while still reading from the database Pin
OriginalGriff15-Feb-10 23:19
mveOriginalGriff15-Feb-10 23:19 
QuestionWord file read data without having word installed Pin
abcurl15-Feb-10 21:33
abcurl15-Feb-10 21:33 
AnswerRe: Word file read data without having word installed Pin
Richard MacCutchan15-Feb-10 22:11
mveRichard MacCutchan15-Feb-10 22:11 
QuestionRe: Word file read data without having word installed Pin
abcurl15-Feb-10 22:27
abcurl15-Feb-10 22:27 
AnswerMessage Closed Pin
15-Feb-10 22:35
stancrm15-Feb-10 22:35 
GeneralRe: Word file read data without having word installed Pin
abcurl15-Feb-10 22:38
abcurl15-Feb-10 22:38 
AnswerRe: Word file read data without having word installed Pin
Richard MacCutchan15-Feb-10 23:52
mveRichard MacCutchan15-Feb-10 23:52 
QuestionNeed Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo15-Feb-10 19:34
MBGustavo15-Feb-10 19:34 
AnswerRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
#realJSOP15-Feb-10 23:18
professional#realJSOP15-Feb-10 23:18 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo16-Feb-10 9:16
MBGustavo16-Feb-10 9:16 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
darkelv16-Feb-10 15:51
darkelv16-Feb-10 15:51 
AnswerRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
Not Active15-Feb-10 23:38
mentorNot Active15-Feb-10 23:38 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo16-Feb-10 9:20
MBGustavo16-Feb-10 9:20 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo16-Feb-10 9:43
MBGustavo16-Feb-10 9:43 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
Not Active16-Feb-10 11:09
mentorNot Active16-Feb-10 11:09 

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.