Results 1 to 1 of 1

Thread: [RESOLVED] Best way to check if record exists

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2008
    Posts
    101

    Resolved [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
  •  



Click Here to Expand Forum to Full Width