Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindingContext
Message
De
30/03/2005 09:33:44
 
 
À
30/03/2005 02:37:07
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00999880
Message ID:
00999917
Vues:
45
Pat,

Try the other syntax for BindingContext, and that would be:
this.BindingContext[this.oCustomers.GetCurrentDataSet().Tables["Customers"]].Position = 
    this.oCustomers.GetCurrentDataSet().Tables["Customers"].Rows.Count -1;
They are actually two different objects.

~~Bonnie



>I have placed the following code in the click event of a specialized mmbuttonNew and it seems that the grid is updating but the position never changes. The underlying data bound controls on another tab in the maintenance form also does not change. Any ideas on what I am doing wrong?
>
>this.BindingContext[this.oCustomers.GetCurrentDataSet(), "Customers"].Position = this.oCustomers.GetCurrentDataSet().Tables["Customers"].Rows.Count -1;
>
>Thanks.
>Pat.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform