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.9k
c# ADO.NET
Mar 28 2013 10:23 AM
Hello.
Below I showed my example where i try to add first table
field values
to secodn table. According to second table column name.Want to say , if first table FIELD_ID = second table column name then add.if any idea help please
DataTable dt = new DataTable();
dt.Columns.Add("Field_ID", typeof(Int32));
dt.Columns.Add("Field", typeof(String));
dt.Rows.Add(new object[] { 1, "Masin" });
dt.Rows.Add(new object[] { 2, "Tank" });
dt.Rows.Add(new object[] { 3, "Helicopter" });
DataTable dt2 = new DataTable();
dt2.Columns.Add("1", typeof(String));
dt2.Columns.Add("2", typeof(String));
Thanks in advance.
Reply
Answers (
5
)
Seach button with textbox (C# and Oracle database)
Static Extension Method using Func and Lambda