Index Error in datagrid

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

I got a textbox to set the filter the datagrid,
Firstly, datagrid show 30 records and I use mouse to click the 25th record
Secondy, I use another condition to filter the datagrid,
now, the datagrid show only 5 records and I also use mouse to click the 4th
record

Badly, there is "an unhandle exception has occurred in your
application............
Index was outside the bounds of array.

How can i solve it ??
Thanks

From Ag es
 
Agnes,
Webform or Windowform
And how do you filter, this says really nothing to us in my opinion, can you
make it more clear with a little piece of code from the filtering and the
click event.

Cor
 
Back
Top