I have bind gridview with datatable.
But datatable contain 20 columns but i want to show only 7 columns ,
So how can i show 7 columns?
using dataview etc?
How to show some selected rows in gridview?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Oct 11, 2010, 4:55 AM EDT
see the below links it may help
http://stainedsole.wordpress.com/2008/05/17/selecting-distinct-row-by-column-in-datatable/
http://msdn.microsoft.com/en-us/library/system.data.datatable.select(VS.71).aspx
Vikas AhlawatRank #2,648 · 525 reputationPosted Oct 11, 2010, 8:17 PM EDT