Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What type of return to use between layers
Message
From
07/03/2005 10:19:16
 
 
To
All
General information
Forum:
ASP.NET
Category:
Class design
Title:
What type of return to use between layers
Environment versions
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
00993275
Message ID:
00993275
Views:
50
My business object (BO) need to pass a table to the GUI. The BO and the GUI will reside on the same computer and will not use .NET remoting or web service for now, but will need to support .NET remoting and a web interface in the future. What return type should I use?

  • DataSet
  • DataTable
  • XML

    With the first 2 options, does .NET do the plumbing of transfering the table in XML format between the layers or it simply pass the object?

    With the XML option, do you define the return type as string? How do you return the XML with the XSD?

    TIA
  • Next
    Reply
    Map
    View

    Click here to load this message in the networking platform