Hello Jonathan,
As Larry said, a better tool to write ASP.NET code is Visual Studio. The
latest free edition is Visual Studio 2008 Express
http://www.microsoft.com/express/
You can download the Visual Web Developer 2008 for ASP.NET projects.
As for Frontpage, Frontpage also support "classes". We can new a text file
in Frontpage, rename the file to "MyMath.vb", then copy & paste the code
into it:
Public Class MyMath
Shared Function Add(ByVal a As Integer, ByVal b As Integer) As Integer
Return a + b
End Function
End Class
Then use the class in the codebehind of our aspx pages.
Hope it helps.
Jialiang Ge ((E-Mail Removed), remove 'online.')
Microsoft Online Community Support
=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.