>I am trying to use the DataTable.Dataview.RowFilter with users selecting from a variety of criteria and the program building the RowFilter expression. When the filter conditions results in no matching rows, I get a System.IndexOutOfRange exception. What do I need to do to trap this error? Thanks. > >Nevermind. I found what I needed. I set the DataTable.DataView.RowStateFilter to DataViewRowState.ModifiedCurrent and that eliminated the error.
That's an interesting solution Linda. How were you using your DataView? By that I mean, what control(s) was it bound to? I'm just curious ...