Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetDataSet method and mutltiple result sets
Message
From
09/08/2009 12:35:35
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01416914
Message ID:
01416930
Views:
52
This message has been marked as a message which has helped to the initial question of the thread.
As a practice, you should give your result set table names the same name as the table names you used when you designed the query.

I will read data into the same typed DS definition that I used to create the report schema, so I never have to worry.

If Mere Mortals doesn't allow you pass in your own definition of your tables names from a typed DS, I'm guessing you'd have to "name" the names afterwards. (It's been a few years since I used MM).

However, I believe that in the absence of meaningful names, you might be able to set the report dataset tables based on position/table number within the dataset. So if your report definition used 3 tables, you can pass in a dataset at runtime with a dataset that has the 3 tables in the same order. I don't care for that practice, but it *should* work - at least it worked the first time I ever tried it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform