Sending SQL data to a method (ByRef vs. ByVal)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thiago777
    New Member
    • May 2007
    • 89

    Sending SQL data to a method (ByRef vs. ByVal)

    Hello all,

    I need to get data in my method through a parameter that gets the object of a "select" command from a database, so that I can later write the results of that select to a txt file.
    I was wondering if the correct way would be to pass the values by Reference or get a local copy from the object (ByVal).

    Anyone knows or had been through this ? any performance tips?

    thnks in advance!
Working...