Can you have column filter in DataView like rowfil
Hello
I am more familar with SQL than ASP.NET.
I brought most of all columns from SQL Server into my DataSet and was hoping to be able to use DataView to only pick out columns I want to use.
I noticed there is RowFilter but no ColumnFilter.
Can I only do a column filter in SQL? What I mean is, do I select the columns I want in SQL then only use RowFilter in DataView??
This means I have to use 3-4 Stored Procedures to create 3-4 DataSets rather than 1 stored procedure to bring most of the data into one Dataset. Then my plan was to create 3-4 DataViews to pick out the columns for the datagrid.
Is my thinking off?
Any suggestions are welcome.
|