General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
Kevin,
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?
This newbie must be searching/Googling the wrong terms, Ted
>Ted,
>
>>Their documentation states the web service will return an array which they convert to an arraylist (which is then bound to a grid, etc.) in their samples.
>>
>>Should I consider converting the array to a dataset/entity instead (in business layer or other project of classes), for binding & data manipulation purposes?
>>
>>Since I will be potentially developing web, windows form & PocketPC UI's for this web service would I be best served in creating a business layer with the web reference (if that is doable ie. WS, BO, UI vs. BO, WS, UI)?
>>
>>If so the business layer generator seems to only reference tables, views & SP's...suggestions?
>
>If they're returning an array, it's probably an array of type Object. As shown in their demo, you can convert the array to an ArrayList and bind it to UI controls. If you need to do data manipulation, it would definitely be easier to convert it to a DataSet/entity and use a business object / data access class to persist it.
>
>Best Regards,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only