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
TAN WhoAMI
NA
291
0
Extract only certain columns from table and save it in text
May 17 2013 3:57 AM
I am able to retrieve all the columns of values from a table using LINQ and display it. However, I only want to retrieve only certain columns (say column2 and column3) for display. How do I achieve that?
Also, I want to save those 2 columns of data in a text file, with no space and no separator between column2 and column3. How do I do it?
My code is as attached.
I would appreciate it very much for sample code.
thanks.
Attachment:
code.zip
Reply
Answers (
2
)
Linq Error
hai all about Linq