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.
Loading

VulpesRank #55 · 29.2K reputationPosted May 17, 2013, 2:41 AM EDT
TAN WhoAMIRank #5,790 · 286 reputationPosted May 19, 2013, 5:11 PM EDT