Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show both Summary and Detail Business Object data
Message
From
20/11/2004 12:40:09
Del Despain
Colorado Plateau Associates
Hurricane, Utah, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00962958
Message ID:
00963219
Views:
8
Hope it is OK if I jump in on this topic too as I am not getting it. If I execute the following:

DataSet ds = this.GetDataSet(SQLstring);

I get back a dataset with one table with the default TableName. If I follow that line with:

ds = this.GetDataSet(SQLstring,"MyTable");

I get back a dataset with only one table named "MyTable". The first table is nowhere to be found. Then if I execute:

ds = this.GetCurrentDataSet();

It is confirmed that the default dataset for the biz object contains only the second table.

I am not understanding how to get multiple tables into the default dataset using the standard data retrieval methods.

Thanks!

Del


>
>Rather than creating two different business objects, you can create two different data tables in your business object's DataSet. Although you normally specify the default table in the TableName property, all MM .NET data retrieval methods allow you to specify a different table name into which to store query results. This allows you to use a single business object to retrieve multiple views of data.
>
>Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform