Groups | Blog | Home
all groups > dotnet ado.net > april 2007 >

dotnet ado.net : DataTableDataView, how do I use dataview to show only 3 fields on the grid


aboutjav.com NO[at]SPAM gmail.com
4/26/2007 4:54:03 PM
Hi,

I am getting a datatable which I assigned the dataview as

MyDataView = datatable.view;

the datatable has about 7 - 10 fields. I only want to display 2 fields
on my wingrid, like name and description.

How do I user dataview to filter out the rest of the columns?

Thanks,

AJ
Miha Markic
4/27/2007 12:00:00 AM
You have to configure columns manually.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

[quoted text, click to view]
AddThis Social Bookmark Button