Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Invalid Cast in mmButtonNew_Click()
Since upgrading to v1.1, I'm getting an "Invalid Cast" error on the following line in mmButtonNew_Click():
mmDataSet ds = (mmDataSet)this.BizObj.GetCurrentDataSet();
The issue seems to be that the type of the DataSet in _currentDataSet is a Typed DataSet...so yeah, that would be an illegal cast. This line of code is new in this version of the FrameWork. Anyone else running into this? Am I doing something stupid?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement