DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 15 Jul 2007 04:35:26 -0000,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    Boot2TheHead


finding column/row that causes System.Number.FormatException   
I'm reading in xml into a dataset. I'm having to mess around with the
types of the xsd as well, since there are many null values in the
data. The data is about 25% string, 10% int, the rest decimals.

When I read this data in I frequently get a
System.Number.FormatException. No surprise, since I'm messing with
types in the xsd. But there is no indication of what row, column or
string caused the error. So I'm doing this by process of elimination.
Which is taking forever, due to the presence of nulls. I have no
ability to modify the data really.

Is there *any* way to set a breakpoint on
System.Number.ConvertToNumber()? That might not be the exact method
call... The exception has no data, the innerexception is null and the
msg tells me basically nothing. Grr.

Also, there are several thousand rows in about 85 tables.
Date:Sun, 15 Jul 2007 04:35:26 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us