I am trying to create a search box to fill my datagridview according to what the user enters in the search textbox. The way I am trying to do this is by using parameters. Trying to do this gives an error from VB.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Value As String = Me.ToolStripTextBox1.Text
Too many arguments to 'Public Overridable Overloads Function search(dataTable As Database2DataSet.ExtServicesDataTable) As Integer'.
I have followed the way of using parameters as it is posted on the MSDN center. I do not understand the mistake.
My search query in the dataset is
SELECT ServiceID, ServiceName, CustomerID, Technicians, StartDate, EndDate, TimeScheduled, TimeTaken, Description, Solution, Parts, Completed, Location
Kind new in this so will appreciate greatly any help