Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Consume Third-Party web service with MM.Net
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01302824
Message ID:
01315494
Vues:
32
Ted,

>OK I am stumped, there must be an easy way to convert an array/arraylist to an MM.net dataset/entity? In the .Net or MM.net framework?

You will probably have to loop through your ArrayList and create new entities from the values in each element. For example:
ArrayList list = new ArrayList();
for (int i = 0; i < list.Count; i++)
{
OrderEntity entity = MyBizObj.NewEntity();
// set the entity properties from the ArrayList values
}

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform