how to include user defined class in asp.net 2005 - TechRepublic
Question
June 7, 2007 at 12:15 AM
abdul4484

how to include user defined class in asp.net 2005

by abdul4484 . Updated 19 years, 1 month ago

hello all.
i am writing this code in my class file user.vb

Namespace testing
Public Class adding
Public Function add(ByVal num1 As Integer, ByVal num2 As Integer)
Return num1 + num2
End Function

End Class

End Namespace

and now i want to called the function add() in my .aspx page code-behind.

so wht should i have to write in my code-behind file

This discussion is locked

All Comments