Hi Karl
We cannot Filter Columns with DataView . There are 2 ways you can Achive
this Using TableStyles and ColumnStyles of Datagrid or you can Hide the
Columns In Dataset
If you have a Instance By Name Dataset11 and You have Authors Table from
Pubs DB , You can Hide the Phone COlumn Like this
DataSet11.authors.phoneColumn.ColumnMapping = MappingType.Hidden
Thanks
Sunder
VB.Net
--------------------
[quoted text, click to view] >From: "Karl Napp" <karl_napp2NO@gmxSPAM.li>
>Subject: DataView Columns
>Date: Fri, 31 Oct 2003 18:40:33 +0100
>Lines: 16
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <OhyTXY9nDHA.1072@TK2MSFTNGP09.phx.gbl>
>Newsgroups:
microsoft.public.dotnet.framework.adonet,microsoft.public.dotnet.framework.a
spnet
[quoted text, click to view] >NNTP-Posting-Host: pd95301f9.dip.t-dialin.net 217.83.1.249
>Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP09.phx.gbl
[quoted text, click to view] >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:187837
microsoft.public.dotnet.framework.adonet:65012
>X-Tomcat-NG: microsoft.public.dotnet.framework.adonet
>
>Hi NG,
>
>how to make a DataView show only selected COLUMNS?
>
>E.g:
>DataTable table // is already in memory and has two columns: "id" and
>"value"
>DataView view // should only show all rows from "value"
>
>
>TIA,
>KN
>
>x-post & f'up to .adonet
>
>
>