We have developed a template for creating subsites on our sharepoint site. Because of user demands we have developed some custom web parts to be on each subsite. The problem is that in the code for the web parts is the path to information within the subsite that is unique to that subsite. We need to be able to determine the path name of the subsite in code to give the correct path within the webpart.