Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not all code returns a value
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 1.1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01033698
Message ID:
01033700
Vues:
19
David,

You need a return before your last closing brace. In other words, what happens if your "foreach (DataRowView drv in dv)" loop never gets executed? Your code will fall out of its if/then/else branch and exit your function without an explict return statement.

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform