Click here to Skip to main content
15,910,471 members
Home / Discussions / C#
   

C#

 
QuestionQuery Access Database too slow! Why? Pin
deanpugh15-Jan-07 6:04
deanpugh15-Jan-07 6:04 
AnswerRe: Query Access Database too slow! Why? Pin
Aaron VanWieren15-Jan-07 12:39
Aaron VanWieren15-Jan-07 12:39 
GeneralRe: Query Access Database too slow! Why? Pin
Colin Angus Mackay15-Jan-07 12:57
Colin Angus Mackay15-Jan-07 12:57 
AnswerRe: Query Access Database too slow! Why? Pin
Aaron VanWieren15-Jan-07 13:24
Aaron VanWieren15-Jan-07 13:24 
GeneralRe: Query Access Database too slow! Why? Pin
Colin Angus Mackay15-Jan-07 13:46
Colin Angus Mackay15-Jan-07 13:46 
GeneralRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 2:09
Aaron VanWieren16-Jan-07 2:09 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh15-Jan-07 21:36
deanpugh15-Jan-07 21:36 
GeneralRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 2:13
Aaron VanWieren16-Jan-07 2:13 
Do you need a dataset or will a datatable work? IHO datasets tend to be overkill when all you need is a single datatable. The slow down could also be from the fact that vb6 is unmanaged code and does not require compilation into MSIL where as the .Net(not just c#) tends to run slower initially because it is managed code. You could create a test harness and run this process a couple of times to see if it is just initially slower.

Without knowing too much of your code, but from the description the other thing I would try would be to get all the tables you need, close the connection, then do your select statement on the datatable for what you want. You then can work with just the set of data at that time that is selected by the select statement.

Just some thoughts.
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh16-Jan-07 2:26
deanpugh16-Jan-07 2:26 
AnswerRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 4:29
Aaron VanWieren16-Jan-07 4:29 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh16-Jan-07 4:39
deanpugh16-Jan-07 4:39 
GeneralRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 4:47
Aaron VanWieren16-Jan-07 4:47 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh16-Jan-07 4:51
deanpugh16-Jan-07 4:51 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh23-Jan-07 23:57
deanpugh23-Jan-07 23:57 
QuestionHow to create whiteboard for web application in .Net? Pin
pankaj_infogain15-Jan-07 5:45
pankaj_infogain15-Jan-07 5:45 
AnswerRe: How to create whiteboard for web application in .Net? Pin
Not Active15-Jan-07 6:11
mentorNot Active15-Jan-07 6:11 
Questionlabel problem Pin
groundzero11115-Jan-07 5:14
groundzero11115-Jan-07 5:14 
AnswerRe: label problem Pin
il_masacratore15-Jan-07 21:37
il_masacratore15-Jan-07 21:37 
GeneralRe: label problem Pin
groundzero11116-Jan-07 5:19
groundzero11116-Jan-07 5:19 
GeneralRe: label problem Pin
il_masacratore16-Jan-07 5:28
il_masacratore16-Jan-07 5:28 
GeneralRe: label problem Pin
groundzero11117-Jan-07 4:04
groundzero11117-Jan-07 4:04 
GeneralRe: label problem Pin
il_masacratore17-Jan-07 5:39
il_masacratore17-Jan-07 5:39 
Questionconnecting to webservice Pin
fmardani15-Jan-07 5:03
fmardani15-Jan-07 5:03 
QuestionPlease Guide Me Pin
Ashish Porwal15-Jan-07 5:01
Ashish Porwal15-Jan-07 5:01 
Questionc# application and ActiveX Pin
Gallo_Teo15-Jan-07 4:58
Gallo_Teo15-Jan-07 4: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.