Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple way to scan thru DataSet
Message
De
16/10/2003 14:47:57
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00838181
Message ID:
00839447
Vues:
21
>DataTable dt = loData.Tables("Temp");
>
>myCursorClass cursor = new myCursorClass( dt ); //same as select myCursor
>while ( myCursorClass.scan() ) { //same as scan
>string xxx = myCursorClass.rowvalue( "columnname" ); //same as processing
>} //same as endscan
>
>Then you can hide all the messy code in your class.
>
>If you want, I'll write the class for you too, but that is the FUN part!

Is there a way to assign the DataSet into a cursor without having to create a class?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform