CurrencyManager bug?

J

Jonathan Currie

Not sure if anyone else has encountered this, but it cost me a few
hours:

I have a strongly typed dataset: dsMedia

The dataset contains a table: People

I have some text boxes bound to the People table, so I want to create a
CurrencyManager:

Private cmPeople As CurrencyManager

This does NOT work (but no error is thrown):
cmPeople = CType(BindingContext(dsMediaFunctions.People),
CurrencyManager)

But this works fine!
cmPeople = CType(BindingContext(dsMediaFunctions, "People"),
CurrencyManager)

It would be nice to find the table name via Intellisense, but I can't
use it here. Oh, this is VS.Net 2003, BTW...
 
C

Cor Ligthert [MVP]

Jonathan,

Do you see why most of us active in this newsgroup avoid the typed dataset.

The first problem is forever to find the name that the designer has given to
the table.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top