General information
Title:
What type of return to use between layers
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
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