Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Sort This
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How To Sort This
Divers
Thread ID:
01471946
Message ID:
01471946
Vues:
99
I have a Project object. On it is a property called QueryItems. QueryItems is a List containing this class:
public class csQueryItem
{
    public DataSet QueryResults { get; set; }
    public string QueryString { get; set; }
    public int Quantity { get; set; }
    public bool IsProduct { get; set; }
}
The user will enter one or more query words such as:
A6825A
A6913A
A7025A
A9879A
A9881A
A9918A
C7497A
C7508AZ
For each item in this list I will run a query that returns a DS with one or more rows. If the DS has more than 1 row, it's a Product, if only one row, the it's not a product. The class above stores the DS, the query string, and the IsProduct bool.

I then need to load a treeview with the results of all queries, starting with products, the parts (non products), sorted by the Query string.

How do I do this?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform