我是编程语言的全新手,特别是VB.net。
我一直收到以下错误消息,并且不确定如何在尝试几个小时后解决它;
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30057: Too many arguments to 'Public ReadOnly Default Property Item(index As Integer) As SuppliersDataSet.SuppliersRow'.
Source Error:
Line 11:
Line 12: supplierConfirm =
Line 13: confirmSupplier.GetDataByConfirmSupplier(Me.CompanyNameTextBox.Text, Me.AccountManagerTextBox.Text, Me.AddressTextBox.Text, Me.CityTextBox.Text, Me.RegionTextBox.Text, Me.PostCodeTextBox.Text, Me.CountryTextBox.Text, Me.PhoneTextBox.Text, Me.FaxTextBox.Text, Me.EmailTextBox.Text, Me.WebsiteTextBox.Text, Me.FacebookTextBox.Text, Me.TwitterTextBox.Text)
Line 14:
Line 15: Dim id As Integer = supplierConfirm.Rows(0)("SupplierID")