Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmMoverControl Usage
Message
From
21/05/2004 17:55:38
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
21/05/2004 17:09:24
Bob Thomsen
Fabtrol Systems, Inc
Eugene, Oregon, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00904909
Message ID:
00906161
Views:
14
Bob,
Each BusinessObject has a FillDataSet method that accepts a DataSet as its first parameter:
//Maybe need GetEmptyDataSet() if you haven't 
//  already retrieved any data for this object.
DataSet ds1 = YourBizObj.GetCurrentDataSet();
YourBizObj.FillDataSet(ds1, FirstTableName, SQLCommandString);
YourBizObj.FillDataSet(ds1, SecondTableName, SQLCommandString);
This way you can use one DataSet to store all your tables, including lookups. This is especially desirable if you plan to use DataRelations.

Hope that helps,
---J

>I am evaluating the MM.NET Framework, so I do not have access to the source code. Without an example or detailed documentation it has been difficult. My stumbling block now is how to query two separate tables in the business object without having two datasets.
Previous
Reply
Map
View

Click here to load this message in the networking platform