The following example shows how to assign a filter to a View using the ViewFilter.NonColumnFilter property.
C#
gridView1.ActiveFilter.Clear();
gridView1.ActiveFilter.NonColumnFilter = "UnitPrice > 10 AND Discount > 0.05";
VB
GridView1.ActiveFilter.Clear()
GridView1.ActiveFilter.NonColumnFilter = "UnitPrice > 10 AND Discount > 0.05"
No comments:
Post a Comment