DataGrid doesnt filter according to DataView
Why doesn't my datagrid filter / sort according to the Dataview below?
Whichever expression i put in, it doesnt move.
Datagrid's Datasource = dataview1
Dataview's Table = dataset1.Table1
-
datadapter.Fill(dataset1)
datadapter.Fill(dataset1)
dataview1 = dataset1.Tables("Table1").DefaultView
dataview1.RowFilter = "ID = 0"
dataview1.Sort = "ID"
Re: DataGrid doesnt filter according to DataView
i solved it, nvm :)
i need to know how can i customised a dataview in a datagrid
like swap the "field columns' etc, remove the gridlines, remove
the most left grey col, left of first col.