Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Answers
data table to another data table
Dinesh Santhalingam
8y
250
1
Reply
I have a data table .I want to copy some column to another data table .
data table
dt
=
new
data table();//Having four columns
data table
dtcopy
=
new
data table();//I want to copy the datatable dt first and last column to this data table
This is my data table(dt) column
Col1
col2
col3
col4
My result is:(dtcopy)
Col1
col4
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
If list contain duplicate value then get total count - C#
convert data table to string array in c#