TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vignesh Kumar
NA
1k
415k
Compare datatable and return rows with changes
Apr 24 2015 6:22 AM
Hi,
I am trying to compare two datatable and return rows which has changes by using the below code and it doesn't work. Pls suggest some options.
DataTable
dt3
=
new
DataTable
();
var
contacts
=
dt1
.
AsEnumerable
().
Intersect
(
dt2
.
AsEnumerable
(),
DataRowComparer
.
Default
);
foreach
(
DataRow
rows
in
contacts
)
{
dt3
.
Rows
.
Add
(
rows
);
}
Reply
Answers (
1
)
To generate foreignkey using arrays in asp.net mvc
How to learn Nopcommerce from scratch ?