Click here to Skip to main content
15,901,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
Guffa27-Jul-08 2:43
Guffa27-Jul-08 2:43 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George31-Jul-08 1:53
George_George31-Jul-08 1:53 
AnswerRe: How to retrieve top 10 elements in a Dictionary [modified] Pin
Joe Woodbury21-Jul-08 20:40
professionalJoe Woodbury21-Jul-08 20:40 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George21-Jul-08 21:17
George_George21-Jul-08 21:17 
QuestionBind List<double[]> to Datagrid Pin
User 1278221-Jul-08 16:43
User 1278221-Jul-08 16:43 
Questionhow to get ideal time of system.. Pin
vayanan21-Jul-08 15:28
vayanan21-Jul-08 15:28 
AnswerRe: how to get ideal time of system.. Pin
Luc Pattyn21-Jul-08 15:40
sitebuilderLuc Pattyn21-Jul-08 15:40 
GeneralRe: how to get ideal time of system.. Pin
vayanan21-Jul-08 17:31
vayanan21-Jul-08 17:31 
QuestionC# macro recorder Pin
nelsonpaixao21-Jul-08 13:46
nelsonpaixao21-Jul-08 13:46 
AnswerRe: C# macro recorder Pin
leppie21-Jul-08 14:39
leppie21-Jul-08 14:39 
AnswerRe: C# macro recorder Pin
leppie21-Jul-08 21:58
leppie21-Jul-08 21:58 
QuestionWhat property controls the "format" of DataTable columns? Pin
JoeRip21-Jul-08 13:22
JoeRip21-Jul-08 13:22 
AnswerRe: What property controls the "format" of DataTable columns? Pin
JoeRip21-Jul-08 13:34
JoeRip21-Jul-08 13:34 
GeneralRe: What property controls the "format" of DataTable columns? Pin
leppie21-Jul-08 14:40
leppie21-Jul-08 14:40 
Questionextern keyword not only with DllImportAttributte Pin
Lutosław21-Jul-08 13:01
Lutosław21-Jul-08 13:01 
AnswerRe: extern keyword not only with DllImportAttributte Pin
leppie21-Jul-08 14:46
leppie21-Jul-08 14:46 
GeneralRe: extern keyword not only with DllImportAttributte Pin
Lutosław21-Jul-08 23:43
Lutosław21-Jul-08 23:43 
QuestionPrinting from a webservide Pin
Dirso21-Jul-08 12:47
Dirso21-Jul-08 12:47 
AnswerRe: Printing from a webservide Pin
leppie21-Jul-08 14:43
leppie21-Jul-08 14:43 
GeneralRe: Printing from a webservide Pin
Dirso21-Jul-08 15:10
Dirso21-Jul-08 15:10 
QuestionWebService uploading/processing/returning the results Pin
Dirso21-Jul-08 12:40
Dirso21-Jul-08 12:40 
QuestionSpeed Search Text File Pin
polishprogrammer21-Jul-08 11:19
polishprogrammer21-Jul-08 11:19 
I need to retrieve some information from a text file that basically consists of two columns of data in a tab delimited format. The first column consists of a unique identifier to lookup the main piece of information contained in the second column. This text file will consist of approximately 60,000 lines of data and I need to search through the text file in response to a particular event to retrieve the main piece of information from the text file using the unique identifier to search the file.

This search process needs to occur rapidly (t < 1 second). Is there a way to search a text file that rapidly? Alternatively, I could pull this information into an MS Access database (the database format used by my application) each time the user logs in to my application and perform a basic SQL query to retrieve the relevant information.

Any advice regarding the best method for searching this information (searching text file or importing text file data into database or some other method) would be appreciated.

Thank you.
AnswerRe: Speed Search Text File Pin
CPallini21-Jul-08 11:35
mveCPallini21-Jul-08 11:35 
GeneralRe: Speed Search Text File Pin
polishprogrammer21-Jul-08 11:42
polishprogrammer21-Jul-08 11:42 
GeneralRe: Speed Search Text File Pin
Luc Pattyn21-Jul-08 12:12
sitebuilderLuc Pattyn21-Jul-08 12:12 

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.