Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Sun, 17 Feb 2008 20:31:29 +0200,    group: microsoft.public.dotnet.datatools        back       


DataView.FindRows out of range problem   
I'm binding the dataView to a dataset (~400000 rows) and sorting it by a key 
(long type).
I'm retrieving values from the DataView with FindRows(object key) which 
returns DataRowView[].

The problem is that rarely on Stress modes I get the following error:

 Source: mscorlib
 Message: Index was out of range. Must be non-negative and less than the 
size of the collection.
Parameter name: index


The error has no sense since i'm not searching with the index of the array, 
so I suppose it's some FindRows inner exception.
Did anyone had encountered it?
date: Sun, 17 Feb 2008 20:31:29 +0200   author:   Rami Prilutsky

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us