Click here to Skip to main content
15,916,293 members
Home / Discussions / C#
   

C#

 
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 
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 
deanpugh wrote:

I was originally using a datareader but because i look at the team table and then search the players table, it wouldnt let me open more than one datareader at a time and wanted me to close any existing ones, which I couldnt do because I needed to go back to it.


There are ways to save the results and work with them, but I am not as familiar with the DataReader as the DataAdapters. It is always good practice to close your connections as soon as possible, this is where the disconnected datatables are really good.


deanpugh wrote:
when you do a select on a datatable, can you specify which column you want to search in? Are the expressions the same as sqlquerys?


In most ways yes. The expression is very similar to a where clause.
A good resource on what all can be done:

http://msdn2.microsoft.com/en-us/library/system.data.datatable.select.aspx
http://msdn2.microsoft.com/en-us/library/system.data.datacolumn.expression.aspx

These should give you good references regarding the select itself as well as the expression parameters.

Hope this helps.
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 
QuestionHow to deploy a .Net dll in other machine Pin
GnanaprakashJebaraj15-Jan-07 4:31
GnanaprakashJebaraj15-Jan-07 4:31 
QuestionWindows services Pin
rodrigorodriquez15-Jan-07 4:01
rodrigorodriquez15-Jan-07 4:01 
AnswerRe: Windows services Pin
jonny515-Jan-07 11:19
jonny515-Jan-07 11:19 
QuestionTrial Version Pin
Banjo Ayorinde15-Jan-07 3:39
Banjo Ayorinde15-Jan-07 3:39 

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.