DataTable sourceTable = new DataTable(); SqlStringBuilder filter = new SqlStringBuilder(); // Set source from database // Fill "filter" with a very large string // Like {[intType = '1']} AND(intFamilyID = '2' OR intFamilyID = '4' OR intFamilyID = '6') .........................} // 17 000 signs // Here happens the problem sourceTable.DefaultView.RowFilter = = filter.ToString(); // The same happens when trying this. DataRow[] resultSet = sourceTable.Select(filter.ToString());
RowFilter
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)