You will have to use a DataGridTableStyle and set add it to the grid's
tablestyle collection. E.g.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemWindowsFormsDataGridTableStyleClassTopic.asp

Signature
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Neelakshi Joshi " wrote in message
news:ebzB2jnKFHA.3064@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I am using Visual Studio 2003. I was wondering how can I display only some of the columns of a dataset in a datagrid. For example, if my dataset has
columns A,B,C,D and I want to display only columns A and C.