I've got a master page with a user control in it and a content page.
I do a database call in the page_load of the content page and want to pass one of the resultant values to the user control in the master page.
Is there a way other than setting a session variable to pass the value? Is there a way to make a global variable accessible from every page/control in the project?
Thanks
I do a database call in the page_load of the content page and want to pass one of the resultant values to the user control in the master page.
Is there a way other than setting a session variable to pass the value? Is there a way to make a global variable accessible from every page/control in the project?
Thanks