|
-
Sep 30th, 2010, 08:38 AM
#1
Thread Starter
Lively Member
[RESOLVED] Best way to check if record exists
Hi,
just wondering the best way to check if a record does exist in a datatable.
I'm currently using the DataTable.Select command, declaring an array of datarows and if the rowcount of the array is equal to zero.. do some logic
however I'm performing my matching on a composite key based on a int and Date its very slow
is there any other method I could use?
thanks in advance,
enex
it was actually stuck in a loop !
my bad
resolved
Last edited by enex; Sep 30th, 2010 at 08:42 AM.
Reason: resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|