Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consume Third-Party web service with MM.Net
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01302824
Message ID:
01315494
Views:
31
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
Previous
Reply
Map
View

Click here to load this message in the networking platform