Hi, I have created a class called myFunctions. The file name is myFunctions.vb. It is located at App_Code folder. In this class, I have below code:
Imports Microsoft.VisualBasic
Imports System.Data
Imports System.Configuration
Imports System.Data.SqlClient
Public Class myFunctions
Public Function AddMyValues(ByVal Value1 As Double, ByVal Value2 As Double) As Double
Dim Result As Double
Result = Value1 + Value2
Return Result
End Function
End Class
In my default.aspx.vb, I manage to import myFunctions. But, I can't able to call AddMyValues function. What I miss?
Go to the complete details ...