I am learning ASP.NET, so please bear with me.
Using Visual Studio.NET I have three pages, an .aspx, .vb, and .aspx.vb. My .aspx page has text boxes, check boxes and a drop down list. The .vb has the class in which I wrote a function to insert records into the database. The .vb is located in another folder from the .aspx and .aspx.vb folder.
Using the click event of the submit button on the .aspx page I would like to call the insert function I created.
On the .aspx.vb page I am getting an error on the last line of this sub which reads [Argument not specified for parameter 'e' of 'Public Function insertNewDataPerformanceMeasures(sender As Object, e As System.EventArgs) As TestGale411.clPerfGroupMeasures'.]
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Dim newPerformanceMeasure As New clPerfGroupMeasures()
newPerformanceMeasure.insertNewDataPerformanceMeasures()
End Sub
What does this error message mean and how do I fix the problem?
TY
LadyGail
Using Visual Studio.NET I have three pages, an .aspx, .vb, and .aspx.vb. My .aspx page has text boxes, check boxes and a drop down list. The .vb has the class in which I wrote a function to insert records into the database. The .vb is located in another folder from the .aspx and .aspx.vb folder.
Using the click event of the submit button on the .aspx page I would like to call the insert function I created.
On the .aspx.vb page I am getting an error on the last line of this sub which reads [Argument not specified for parameter 'e' of 'Public Function insertNewDataPerformanceMeasures(sender As Object, e As System.EventArgs) As TestGale411.clPerfGroupMeasures'.]
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Dim newPerformanceMeasure As New clPerfGroupMeasures()
newPerformanceMeasure.insertNewDataPerformanceMeasures()
End Sub
What does this error message mean and how do I fix the problem?
TY
LadyGail