DataTable sourceTable = GetTable() //Original table string filter = myFilter; //Put the filter here DataView view = new DataView(sourceTable, filter, null, DataViewRowState.CurrentRows); DataTable newTable = view.ToTable();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)