Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Breaking a dataset into several
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Breaking a dataset into several
Versions des environnements
Environment:
VB 9.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01628209
Message ID:
01628209
Vues:
49
Hi again,

I have a dataset that I need to break into several (one at a time) based on the following logic. I will refer to this, initial, data set as BigDataSet.

The dataset has a column (defined as a variable, e.g. ColumnGroup='MYCOL1'). I need to group the BigDataSet on the column ColumnGroup. Then get all rows for first group into a SmallDataSet (rows of the same MYCOL1). Then go to the next group and create another SmallDataSet. Once I create a SmallDataSet I will write it to an XML file. Therefore, I don't need all SmallDataSets, just one at a time.

TIA for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform