Click here to Skip to main content
15,921,622 members
Home / Discussions / C#
   

C#

 
GeneralRe: insert date to the data base Pin
SeMartens12-Jan-09 20:58
SeMartens12-Jan-09 20:58 
AnswerRe: insert date to the data base Pin
Wendelius12-Jan-09 12:07
mentorWendelius12-Jan-09 12:07 
Question[Message Deleted] Pin
JGroen12-Jan-09 4:20
JGroen12-Jan-09 4:20 
AnswerRe: INotifyPropertyChanged with user controls Pin
Not Active12-Jan-09 4:44
mentorNot Active12-Jan-09 4:44 
AnswerRe: INotifyPropertyChanged with user controls Pin
Moim Hossain12-Jan-09 4:48
Moim Hossain12-Jan-09 4:48 
QuestionHow to abort filling a dataset? Pin
kasatch12-Jan-09 4:03
kasatch12-Jan-09 4:03 
AnswerRe: How to abort filling a dataset? Pin
benjymous12-Jan-09 4:09
benjymous12-Jan-09 4:09 
AnswerRe: How to abort filling a dataset? Pin
Wendelius12-Jan-09 9:38
mentorWendelius12-Jan-09 9:38 
Not sure about this, but I suspect that the reason for this behaviour is because Thread.Abort cannot abort the execution if it's done by unmanaged code. It must wait until the execution is returned to managed code. So if in OracleClient the fill mechanism is created using unmanaged code, that would explain the long period of waiting (until the Fill has finished).

The only thing that comes in mind is that you limit the execution somehow. For example, could you use DbDataAdapter.Fill Method (Int32, Int32, DataTable[])
[^] and set the maximum amount of rows for the fill.

The downside is of course, that you must set this before execution and even if the fill is fast, you won't get more rows than specified. However, perhaps you could first fetch, say 100 records and then have an option for the user to fetch the rest. This way you could split the operation to smaller parts.

The need to optimize rises from a bad design.My articles[^]

Questionproblem with timer_tick Pin
prasadbuddhika12-Jan-09 1:04
prasadbuddhika12-Jan-09 1:04 
AnswerRe: problem with timer_tick Pin
Not Active12-Jan-09 1:11
mentorNot Active12-Jan-09 1:11 
GeneralRe: problem with timer_tick Pin
EliottA12-Jan-09 1:17
EliottA12-Jan-09 1:17 
AnswerRe: problem with timer_tick Pin
musefan12-Jan-09 1:41
musefan12-Jan-09 1:41 
GeneralRe: problem with timer_tick Pin
Dave Kreskowiak12-Jan-09 2:15
mveDave Kreskowiak12-Jan-09 2:15 
GeneralRe: problem with timer_tick Pin
musefan12-Jan-09 2:23
musefan12-Jan-09 2:23 
GeneralRe: problem with timer_tick Pin
#realJSOP12-Jan-09 9:31
professional#realJSOP12-Jan-09 9:31 
GeneralRe: problem with timer_tick Pin
musefan12-Jan-09 21:55
musefan12-Jan-09 21:55 
AnswerRe: problem with timer_tick Pin
#realJSOP12-Jan-09 6:03
professional#realJSOP12-Jan-09 6:03 
GeneralRe: problem with timer_tick Pin
prasadbuddhika12-Jan-09 15:49
prasadbuddhika12-Jan-09 15:49 
JokeRe: problem with timer_tick Pin
musefan12-Jan-09 21:53
musefan12-Jan-09 21:53 
QuestionWhat's wrong with this dataset? Pin
ndroo88212-Jan-09 0:20
ndroo88212-Jan-09 0:20 
AnswerRe: What's wrong with this dataset? Pin
Not Active12-Jan-09 0:32
mentorNot Active12-Jan-09 0:32 
GeneralRe: What's wrong with this dataset? Pin
ndroo88212-Jan-09 0:57
ndroo88212-Jan-09 0:57 
GeneralRe: What's wrong with this dataset? Pin
Not Active12-Jan-09 1:10
mentorNot Active12-Jan-09 1:10 
AnswerRe: What's wrong with this dataset? Pin
N a v a n e e t h12-Jan-09 0:34
N a v a n e e t h12-Jan-09 0:34 
GeneralRe: What's wrong with this dataset? Pin
ndroo88212-Jan-09 0:58
ndroo88212-Jan-09 0: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.