Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27034

VS 2012 DataMember property 'ColumnName' cannot be found on the DataSource

$
0
0
Error: DataMember property 'VendedorID' cannot be found on the DataSource.

Hi, i am getting the above error with the below code. The table Vendor (TblVendedorBindingSource) is a child and i am sure that the column "VendedorID" exists in the table. This error happens only in the child table. The relationship between master and detail data runs perfectly.

HTML Code:

        Dim itemFoundDetail As Integer = Me.TblVendedorBindingSource.Find("VendedorID", strVendedorId) 'Here is where the error raises
        Me.TblVendedorBindingSource.Position = itemFoundDetail


Any help will be greatly appreciated!
Best Regards.
2005

Viewing all articles
Browse latest Browse all 27034

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>