Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not all code returns a value
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 1.1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01033698
Message ID:
01033700
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform