By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,652 Members | 1,487 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,652 IT Pros & Developers. It's quick & easy.

Duplicate rows need to identify & store in seperate DataTable usin

P: n/a
Hi,

I have a DataTable with several rows. Its having 20 Columns. when i click
the Insert button then i have to check the Database Rows. Whether these new
rows are already available in the Database. If its there, then i need to
seperate the Duplicate Records

Based upon 4 columns(EmployeeID, ProjectName, ProjectType, StartTime --
should be activate as a Composite Primary key)

and store those duplicate records into seperate DataTable and insert the
Non-Duplicate records into the Database. I need a seperate function. Because
I have to check the duplicate records with database as well as within the
DataTable. The DataTable may have duplicate records.

Please Help.

By
Prabhu
Aug 31 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.