Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple way to scan thru DataSet
Message
From
16/10/2003 14:47:57
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00838181
Message ID:
00839447
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform