Link to home
Start Free TrialLog in
Avatar of edwinperezm
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.ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerezDataSet.tblAlbumsDataTable' 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.ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerezDataSet.tblAlbumsDataTable' cannot be converted to 'System.Data.DataRow'.
    'Public Overridable Overloads Function Update(dataSet As ITP400_IP2_EdwinPerezDataSet) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerezDataSet.tblAlbumsDataTable' cannot be converted to 'ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerezDataSet'.
    'Public Overridable Overloads Function Update(dataTable As ITP400_IP2_EdwinPerezDataSet.tblAlbumsDataTable) As Integer': Value of type 'ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerezDataSet.tblAlbumsDataTable' cannot be converted to 'ITP400_IP2_EdwinPerez.ITP400_IP2_EdwinPerezDataSet.tblAlbumsDataTable'.      C:\Documents and Settings\edwin.perez\Desktop\New Folder\ITP400_IP2_EdwinPerez\ITP400_IP2_EdwinPerez\Main_Menu.vb      306      13      ITP400_IP2_EdwinPerez
Avatar of ZeonFlash
ZeonFlash

Can you post the line(s) of code that are causing the error?
ASKER CERTIFIED SOLUTION
Avatar of jrscherer
jrscherer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial