This is a question to see other peoples techniques for a simple bit of code.
I am intregued as to which methods people opt for.

I have a DLL project called SvrObjects.
In this is a class called Users.
This class has 2 functions called FetchUser and FetchUsers, which is in the format:
VB Code:
  1. 'function for editting user data
  2. Public Function FetchUser(ByVal ID As Integer) As 'some object
  3. Dim obj As 'some object
  4.  
  5.    'code to load user record from DB
  6.  
  7.    Return obj
  8. End Function
  9.  
  10. 'function for display users info
  11. Public Function FetchUsers() As 'some object
  12. Dim obj As 'some object
  13.  
  14.    'code to load user record from DB
  15.  
  16.    Return obj
  17. End Function

I would like to know what methods people would use and what objects they use to pass the data back to the UI.

Woof