D
davidw
I created my own WebControl, I am thinking a way to put some logics in the
class to a seperated class, and it will be accessed by all instances of my
WebControl, the idea is that the class doesn;t need to be created everytime,
and data in it can be retrieved from database one time only. What can I
achieve this? static method in class? multi-thread class? or cache?
Thanks
class to a seperated class, and it will be accessed by all instances of my
WebControl, the idea is that the class doesn;t need to be created everytime,
and data in it can be retrieved from database one time only. What can I
achieve this? static method in class? multi-thread class? or cache?
Thanks