Re: Code Behind Page



Why not make a vb.net or C# class holds all your common functions and put it
in your web site's bin folder?
Egghead
"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:OikwySKYFHA.2888@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>


.



Relevant Pages

  • Re: adding a site wide footer to all appx pages
    ... Use a common base class for all your pages to programmatically add the common footer. ... Build a HttpModule to handle the PostRequestHandlerExecute to programmatically add the common footer to the response stream. ... bottom of every page serverd for a web site. ... Problem is that IIS doesn't really look at aspx files as it serves ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Code Behind Page
    ... It would be better if you used either a module or a class to put your common ... Public Shared Function GetConnection(ByVal connectionString As String) ... > Sometimes I have functions which are common to all aspx files. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Code Behind Page
    ... in your web site's bin folder? ... > Sometimes I have functions which are common to all aspx files. ... > aspx files in a web site. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Dividing asp.net project in to several projects?
    ... In windows project I have devided my project in to several projects ... * main project with forms which are common for all my projects (user ... With .aspx files being separate from the dll file I don't really know ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Safe e-mail?
    ... |> scw-media.de, and their web site is www.scw-webshop24.de, so it ... I Googled for "type face", ... | I find the Web Of Trust does not work at all for me, ... | signature for him, and he for me, but we have no one in common, so the ...
    (comp.os.linux.misc)