Solved

Is the PrimaryKey in Datatable indexed for fast queries?

Posted on 2006-10-30
1
432 Views
Last Modified: 2008-03-03
I wanted to know and be shown that the primarykey in the datatable class is indexed for fast queries.
I have alot of queries to do and dont wanna use a datatable unless it has some b-tree or hashtable or something behind the primarykey.  I mean if it just does a linear search then forget it and i will go use hashtable class
0
Comment
Question by:joshuadavidlee
1 Comment
 
LVL 35

Accepted Solution

by:
Raynard7 earned 500 total points
ID: 17838166
I'd forget it and either pull queries from a database - uor use hashtables, the primary key is basically for referential integrity
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now