CurrencyManager bug?

  • Thread starter Thread starter Jonathan Currie
  • Start date Start date
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...
 
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
 
Back
Top