forum

Home / DeveloperSection / Forums / How to get records of specific columns of data table using c#.

How to get records of specific columns of data table using c#.

James Smith5198623-Jul-2011

Hi,

I have a small problem while making a program in c#. The problem is that I would like to access record of selected columns of data table in c#. Like suppose I have a data table which have four columns namely empId, empName, empAge and empCity . Now I would like to select record of only two columns of this data table. This is prity simple in sql query but how can I perform it into data table.

Help me!

Thanks.


Updated on 05-Apr-2019

Can you answer this question?


Answer

2 Answers

Liked By