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
Nishanthan Ganeshan
NA
16
10.5k
C#: Iterating through a huge datatable
Apr 24 2013 11:34 AM
I have 2 data-tables which i need to compare and get the result in different table.Almost i am comparing 1000 records and it takes 2 minutes for doing comparison and get the result.I am using for loop.
Is there any other way i can optimize the for loop and reduce the processing time.
Ex : for (int i = 0; i < dt1.Rows.Count; i++)
{
for (int j = 0; j < _dt2.Count; j++)
{
//Process
}
}
Reply
Answers (
11
)
Use of Handlers
.Net