Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Right,

 

I'm programming a distibuted application for PocketPC in .NET, i have to have two web services on two different servers (its part of the compo spec). I want to remove all the processing from the PocketPC device for obvious reasons.

 

What i want to do is populate a treeview with date, would it be better to return a set of TreeNodes across the network in a collection and add them to the TreeView.

 

Or

 

Return the data structure class across and let the pocketPC add them?

 

Or would it not make much difference?

 

Thanks in advance

Phil Price�

Visual Studio .NET 2003 Enterprise Edition

Microsoft Student Partner 2004

Microsoft Redmond, EMEA Intern 2004

  • *Gurus*
Posted
It's not going to make any difference unless the data has the possibility of being displayed in an alternative fashion in the future, or in another application accessing the web service. For the sake of ease of upgradeability in the future, I'd advise you to return a broader data structure, instead of TreeView nodes.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...