Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in File/Option
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Bug in File/Option
Environment versions
Environment:
C# 3.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01479905
Message ID:
01479905
Views:
80
Kevin,

Thought you would want to know I found a bug in the File->Option function on the MainForm.

In my app.config, I have 3 datasets.
  <databaseSets>
    <add key="LCC1" value="Production" />
    <add key="LCC2" value="Pre-Production" />
    <add key="LCC3" value="Test" />
  </databaseSets>
When I go to the File Option combo box for datasets, it displays them alphabetically, which is fine. The problem is that the key values associated with the descriptions do not change order. Consequently, when I select "Pre-Production", it returns the DataSetKey "LCC1" and "Production" returns the DataSetKey "LCC2".

If I change the names associated with the databaseSets so that the sort of the key names matches the sort of the values, everything works correctly.
  <databaseSets>
    <add key="LCC1" value="Final Production" />
    <add key="LCC2" value="Pre-Production" />
    <add key="LCC3" value="Test" />
  </databaseSets>
Obviously, I figured out how to make it work but I think it's unlikely that you intended to have this behavior.

Thanks.

Linda Harmes
Linda Harmes
HiBit Technologies, Inc.
Reply
Map
View

Click here to load this message in the networking platform