Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in File/Option
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Bug in File/Option
Versions des environnements
Environment:
C# 3.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01479905
Message ID:
01479905
Vues:
81
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform