Question

Locked

how to include user defined class in asp.net 2005

By abdul4484 ·
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 conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums