Hello Bart, thanks for your help.
I apply your code in VB, but the object CurrencyManager hasn't the method
GetListName.
This code is :
Dim cm As CurrencyManager = CType(Grid.BindingContext(Grid.DataSource,
Grid.DataMember), CurrencyManager)
Thanks.
Antoni Gomez
Hi,
> Hello Bart, thanks for your help.
>
[quoted text clipped - 5 lines]
> Dim cm As CurrencyManager = CType(Grid.BindingContext(Grid.DataSource,
> Grid.DataMember), CurrencyManager)
Yeah, you're right, my mistake it's protected. Try this instead:
Dim cm As CurrencyManager = CType(Grid.BindingContext(Grid.DataSource,
Grid.DataMember), CurrencyManager)
Dim list As ITypedList = CType(cm.List, ITypedList)
Console.WriteLine( list.GetListName(Nothing) )
HTH,
Greetings
> Thanks.
> Antoni Gomez
[quoted text clipped - 25 lines]
>>>
>>> Antoni Gomez
Antoni Gomez - 24 Feb 2006 06:22 GMT
Hello
This code works fine and I resolved my problem.
Thanks a lot.
Antoni Gomez
> Hi,
>
[quoted text clipped - 48 lines]
>>>>
>>>> Antoni Gomez