Hopefully this makes sense. Right now I find myself having to call the fill method to create the object each time I want to access data, so I thought there may be a more efficient way of doing this.
Thanks
I just do something like this. Not sure if it is the best way to do it but it works okay for me. I have a common class that has shared property's and methods that I use throughout my application, in this instance to get the office name I would to something like this common.OfficeProfile.OFP_OfficeName
here is an example
Public
_OfficeProfile.Fill()
And in VB, you can even import the class name like this so you can reference the variables without having to type the classname first:
Imports MyRootNamespace.MyStaticClass