TAN WhoAMI

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

Answers (2)