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
Ilkin Turk
NA
349
161.8k
DataTable update rows
Apr 8 2013 12:00 PM
Hello
How to update dataTable2 rows from dataTable1 rows?Update missing,changed rows.
DataTable dt = new DataTable();
dt.Columns.Add("ID");
dt.Columns.Add("Name");
dt.Rows.Add(0, "ddd");
dt.Rows.Add(1, "aaa");
dt.Rows.Add(2, "adsd");
dt.Rows.Add(3, "dfdg");
dt.Rows.Add(4, "vdesd");
DataTable dt2 = new DataTable();
dt2.Columns.Add("ID");
dt2.Columns.Add("Name2");
dt2.Rows.Add(0, "223");
dt2.Rows.Add(1, "");
dt2.Rows.Add(2, "ad564sd");
Thanks in advance.
Reply
Answers (
1
)
dll for media player classic in windows forms(c#.net)
Ado.net add update rows