General information
Title:
Basic object / scope question
In an ASP.NET 2005 web site app, with VB as the language, I want to create some objects in the main program (master page) that are accessible to all pages in the app. The master page does most of the I/O and the various content pages basically display that data and allow it to be updated. What is a simple way of accomplishing this? I have tried several approaches with nothing but build errors to show for my efforts. Most of the errors are in the content pages, saying oWhatever is not found. Am I missing something similar to FoxPro's EXTERNAL directive?
Someone told me the objects have to be defined in App_Code to be globally accessible. Is that true?
Thanks for any advice and guidance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only