How to expose a .net Table Adapter's Data Adapter

I have a AVB.NET project working with SQL  Server 2005 that includes a DataSet with Table Adapters and Binding Sources for several tables.  I'd like to expose the Table Adapter's underlying DataAdapter so that I can monitor the progress of table fill operations using a Progress bar.  A portion of the auto-generated code shows:
Partial Public Class vw_MI_RequisitionTableAdapter
        Inherits Global.System.ComponentModel.Component
        Private WithEvents _adapter As Global.System.Data.SqlClient.SqlDataAdapter
        Private _connection As Global.System.Data.SqlClient.SqlConnection
        Private _commandCollection() As Global.System.Data.SqlClient.SqlCommand
        Private _clearBeforeFill As Boolean

and I have tried to add a Partial Class as follows:
Public ReadOnly Property DataAdapter() As System.Data.SqlClient.SqlDataAdapter
                'Here we return the private member of the tableadapter
                Return _adapter
            End Get
        End Property
    End Class
But the reference to _adapter is marked with the dreaded squiggly underline saying that it isn't declared.

What am I missing here.  And from a broader viewpoint, is there a better eay to tie a Progress Bar to a data table Fill?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

käµfm³d 👽Commented:
Is your partial class in the same namespace as the original class?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlStoughtonAuthor Commented:
I assume so; it's in the same Visual Studio project.
AlStoughtonAuthor Commented:
I double checked this morning.  Good call on your part!!  Silly oversight on mine.
Thanks for your input!
käµfm³d 👽Commented:
NP. Glad to help  :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.