edwinperezm
asked on
Overload resolution failed
Hello , I am a new at VB and I am writing a program in VB and I am trying to interpret this error. Any suggestions?
Error 1 Overload resolution failed because no accessible 'Update' can be called with these arguments:
'Public Overridable Overloads Function Update(dataRows() As System.Data.DataRow) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP 400_IP2_Ed winPerez.I TP400_IP2_ EdwinPerez DataSet.tb lAlbumsDat aTable' cannot be converted to '1-dimensional array of System.Data.DataRow'.
'Public Overridable Overloads Function Update(dataRow As System.Data.DataRow) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP 400_IP2_Ed winPerez.I TP400_IP2_ EdwinPerez DataSet.tb lAlbumsDat aTable' cannot be converted to 'System.Data.DataRow'.
'Public Overridable Overloads Function Update(dataSet As ITP400_IP2_EdwinPerezDataS et) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP 400_IP2_Ed winPerez.I TP400_IP2_ EdwinPerez DataSet.tb lAlbumsDat aTable' cannot be converted to 'ITP400_IP2_EdwinPerez.ITP 400_IP2_Ed winPerezDa taSet'.
'Public Overridable Overloads Function Update(dataTable As ITP400_IP2_EdwinPerezDataS et.tblAlbu msDataTabl e) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP 400_IP2_Ed winPerez.I TP400_IP2_ EdwinPerez DataSet.tb lAlbumsDat aTable' cannot be converted to 'ITP400_IP2_EdwinPerez.ITP 400_IP2_Ed winPerezDa taSet.tblA lbumsDataT able'. C:\Documents and Settings\edwin.perez\Deskt op\New Folder\ITP400_IP2_EdwinPer ez\ITP400_ IP2_EdwinP erez\Main_ Menu.vb 306 13 ITP400_IP2_EdwinPerez
Error 1 Overload resolution failed because no accessible 'Update' can be called with these arguments:
'Public Overridable Overloads Function Update(dataRows() As System.Data.DataRow) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP
'Public Overridable Overloads Function Update(dataRow As System.Data.DataRow) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP
'Public Overridable Overloads Function Update(dataSet As ITP400_IP2_EdwinPerezDataS
'Public Overridable Overloads Function Update(dataTable As ITP400_IP2_EdwinPerezDataS
Can you post the line(s) of code that are causing the error?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.