Accessing functions defined in Global.asax

From: Anjali Lourda (anjali_at_panteq.com)
Date: 02/04/04


Date: 4 Feb 2004 01:53:17 -0800

Hi,
I have defined a function in global.asax file. Could somebody please
tell me how i am supposed to call that function from the other files
of the same project.
Global.asax
public function getName() as String
dim name as string
name = "Abc"
return name
end function

myfile01.aspx
'How do I call that function from this file. Am I supposed to import
something?

Thanks in advance for this help
Anjali



Relevant Pages

  • Re: 2 questions
    ... Dim dt as New System.Data.DataTable ... from its current type into a string, ... abc = new Object ... Calling the middle code line in each of those ...
    (microsoft.public.dotnet.languages.vb)
  • Re: ecel:create a file name from data in worksheet
    ... dim sFileName as string ... sFileName = "ABC" ... set dDate = format ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Using early-bound interface on a late-bound object
    ... Dim E As ADODB.Connection ... Private Sub DoLate(ByVal X As Object, msg As String) ... X.ConnectionString = "ABC" ... MsgBox GetTickCount - t ...
    (microsoft.public.vb.general.discussion)
  • Re: Access Virtual Directory.
    ... Alias Name = "ABC" ... Then I created simple web site which has just one button. ... Dim line As String = myFile.ReadLine ...
    (microsoft.public.dotnet.framework.aspnet)
  • Access Virtual Directory.
    ... Alias Name = "ABC" ... Then I created simple web site which has just one button. ... Dim line As String = myFile.ReadLine ...
    (microsoft.public.dotnet.framework.aspnet)

Loading