Could this query to get the size of a doc be improved in Sharepoint 2007?
问题 Well, as I am relatively new to Sharepoint 2007 I would like to improve my way of writing code for this platform, and refine some habits I already have. In the following code what i am doing is to ask the size of a document that is in the "Documents" list, but i have the impression i create to many objects to access the info. Isn't there a way to go to the doc straight forward (i have to access de spweb, then the list and then the doc)? One of the things I want to improve is not to use oSPWeb