Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange error 'No DataRows'
Message
 
 
À
27/08/2013 15:46:55
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581526
Message ID:
01581542
Vues:
45
>Your stack trace shows a call to CopyToDataTable, but nothing in the code you posted appears to be calling that.

I guess I was wrong in the identifying the source of the error originally. It seems to be happening on this line

dtResources = dtReturn.Select("", orderBy).CopyToDataTable();

dtReturn is empty in the debugger.

So, I added an extra check for Rows.Count = 0 to fix it.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform