Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error 'No DataRows'
Message
 
 
To
27/08/2013 17:01:20
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01581526
Message ID:
01581563
Views:
46
>>Your stack trace shows a call to CopyToDataTable, but nothing in the code you posted appears to be calling th
>
>Tell me you don't really read stack traces for errors, do you? <g>

It was funny because it looked to me that the error was on the foreach line (at least I think it was - I probably pressed green button to continue without realizing it). I did a minor change in the code by using ToList() first and then the rest of the code. This time I found that it was indeed CopyToDataTable() line and also this is the relevant Connect issue

https://connect.microsoft.com/VisualStudio/feedback/details/422727/major-flaw-in-system-data-datatableextensions-copytodatatable-design
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform