Code Behind Page



Hello,

When creating an ASP.NET/VB web site I place my code in a code behind page, i.e., aspx.vb.

Sometimes I have functions which are common to all aspx files.

Is it possible in page1.aspx to use page1.aspx.vb and also a common file named global.aspx.vb which will hold all the functions common to all aspx files in a web site.

How can this be done?
Should I do it?

Thanks,
Miguel

.


Loading