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 Smith 52633 23-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.


c# c# 
Updated on 05-Apr-2019
James Smith

Other


Message
Can you answer this question?

Answer

2 Answers

Liked By