too many arguments to 'public....
Too many arguments to 'public overridable Overloads Function FillByFirstLast(DataTable as Evaluation_CriteriaDataSet.StudentInfoDataTable) As Integer
This is the error that is occuring.
I am attempting to do a search page where I search the Access Database and get the returned values in textboxes.
I have set up two different queries, one that is searching for emails, and one that is searching for First and Last name.
I am getting this error twice, once for the first and last name, and the second for the email.
NumberOfRows1 = Me.StudentInfoTableAdapter.FillByFirstLast(Me.Evaluation_CriteriaDataSet.StudentInfo, StudentInfoFirstName, StudentInfoLastName)
I am getting the error under StudentInfoFirst name, StudentInfoLastName which i highlighted.
I have dimmed numberofRows1 as an integer
StudentInfoLastname and StudentInfoFirstName are both dimmed as strings.
I can't figure out why I am getting this error, can anyone help?? I can post more code if you need to see it in more detail.
Thanks,
Poobmania
Re: too many arguments to 'public....
Based on the info in your post your FillByFirstLast takes one parameter while in your function call your are passing in three.
Me.Evaluation_CriteriaDataSet.StudentInfo
StudentInfoFirstName
StudentInfoLastName