V
Varangian
Hello,
I know that the kind of question below has been asked several
times....however I need a clear answer in my specific situation.
I have 2 methods. One returns an SqlDataReader and the other returns a
DataView. I was considering making them Static methods, so as to avoid
creating instance of the class which takes care of these methods, kind
of a helper class. Since its a web site the method may be accessed by
more than one user at one time....
the question is would it improve the performance if using Static method
in this case? Would it be a problem if using Static methods at all?
Thanks!
I know that the kind of question below has been asked several
times....however I need a clear answer in my specific situation.
I have 2 methods. One returns an SqlDataReader and the other returns a
DataView. I was considering making them Static methods, so as to avoid
creating instance of the class which takes care of these methods, kind
of a helper class. Since its a web site the method may be accessed by
more than one user at one time....
the question is would it improve the performance if using Static method
in this case? Would it be a problem if using Static methods at all?
Thanks!