Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View into Dataset
Message
From
06/11/2009 12:45:49
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01433587
Message ID:
01433594
Views:
37
Eric,

You can use methods on the busines object that returns a DataSet or you can use the normal methods and then do this.
// Call the business object method just like you normally would for entities or entity lists.
this.oLookups.GetLookupsByType("CustomerTypes");
// Then retrieve the DataSet from the dataset property of the business object.
DataSet dsLookups = this.oLookups.DataSet;
You can also create methods on your business object that return a dataset to start with.
Hope that helps.
Tim

>What would be the easiest way to get a SQL Server view down into a dataset? I don't really need a business object or anything else for this.
>
>Thanks,
>
>Eric
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform