Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why this cast in mmbindingstrategy.cs?
Message
De
02/09/2004 10:17:58
Max Fillmore
Essential Skills, Inc.
Lenexa, Kansas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00937866
Message ID:
00938741
Vues:
16
Thanks, Kevin.

That works for saving new rows. I had already coded a kluge which also works. In Professional VB.NET, 2nd Ed. (Wrox), chapter 16, page 562 it says "You need to select another row in the DataGrid in order for the changes to be made to the DataSet,...". So I put this in my form's HookPreSave:
Me.grdCarrier.NavigateData(mmNavigate.First)
Me.grdCarrier.NavigateData(mmNavigate.Last)
This also works, although I don't know why. Why does it work?

Also why does my mmDataGrid turn into a red box with red diagonals everytime I click my mmDelete button? I have set the Binding source of the button to the child business object. There is also a separate delete button for the parent bizobj.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform