Method ShowOrRefresh
| Improve this Doc View SourceShowOrRefresh(DataView, DataSet<T>, Boolean)
Show or refresh the DataSet to DataView.
Declaration
public void ShowOrRefresh(DataView dataView, DataSet<T> dataSet, bool resetCriteria = false)
Parameters
Type | Name | Description |
---|---|---|
DataView | dataView | The DataView which renders the data. |
DataSet<T> | dataSet | The DataSet. |
System.Boolean | resetCriteria | Indicates whether filtering and sorting criteria should be reseted. |
ShowOrRefresh(DataView, DataSet<T>, Predicate<DataRow>, IComparer<DataRow>)
Show or refresh the DataSet to DataView, with specified filtering contition and sorting comparer.
Declaration
public void ShowOrRefresh(DataView dataView, DataSet<T> dataSet, Predicate<DataRow> where, IComparer<DataRow> orderBy)
Parameters
Type | Name | Description |
---|---|---|
DataView | dataView | The DataView which renders the data. |
DataSet<T> | dataSet | The DataSet. |
System.Predicate<DataRow> | where | The filtering condition. |
System.Collections.Generic.IComparer<DataRow> | orderBy | The sorting comparer. |