Click here to Skip to main content
13,408,005 members (50,849 online)
Rate this:
 
Please Sign up or sign in to vote.
I am creating a rdlc report to print barcode where i post the barcode and item information from the database to new created bcodeds.xsd and DataTable1 is a datatable, i am writing the fallowing code but i am getting error

Dim newCustomersRow As bcodeds.DataTable1Row
    newCustomersRow = bcodeds.DataTable1.NewDataTable1Row()
    newCustomersRow.bcode = "112252"
    newCustomersRow.iname = "toy train"
    newCustomersRow.icomp = "abs"
    newCustomersRow.irate = 99
    bcodeds.DataTable1.Rows.Add(newCustomersRow)

but i am getting fallowing error while writing the code reference to non shared memberrequire an object reference .
Posted 31-Jul-15 2:16am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web04 | 2.8.180221.1 | Last Updated 31 Jul 2015
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100