Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View into Dataset
Message
De
06/11/2009 12:45:49
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01433587
Message ID:
01433594
Vues:
38
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform