Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a simple way to test for a value in the options?
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Is there a simple way to test for a value in the options?
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01331284
Message ID:
01331284
Views:
57
Hi everybody,

I'm getting mycontrols "has a SelectedValue which is invalid because it does not exist in the list of items" error. I know how to fix this for the particular value I'm trying to pass, but is there a generic way to check if the value you want to assign a selectedvalue is in the list of Items?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform