Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Inheriting Business Form
Versions des environnements
Network:
Windows 2003 Server
Hi All,
Maybe this a "newbie" situation, but I hadn't have needed until now. I have a MM.NET BusinessForms that it's running just fine. But now I'm need to inherit this form in order to add a new control. Here's how I'm doing it:
public partial class CatLineasDAVID : frmCatLineas
{
public CatLineasDAVID() : base()
{
}
}
When I try to view this inherited form in the designer I receive this error:
at OakLeaf.MM.Main.Business.mmBusinessObject.CreateDataSet()
at OakLeaf.MM.Main.Business.mmBusinessObjectGeneric`1.GetEntity(String command, String databaseKey, CommandType cmdType, IDbDataParameter[] cmdParams)
at OakLeaf.MM.Main.Business.mmBusinessObjectGeneric`1.GetEntity(String command, String databaseKey, IDbDataParameter[] cmdParams)
at OakLeaf.MM.Main.Business.mmBusinessObjectGeneric`1.GetEntity(String command, String databaseKey)
at OakLeaf.MM.Main.Business.mmBusinessObjectGeneric`1.GetEntity(String command)
at PCSistemas.SIA.Business.CatLineas.GetAll() in C:\Documents and Settings\David\Mis documentos\Visual Studio 2008\Projects\SIA\Fuentes\BusinessObjects\Business Object\CatLineas_Partial.cs:line 23
at PCSistemas.SIA.Business.Main.Windows.Forms.frmCatLineas..ctor() in C:\Documents and Settings\David\Mis documentos\Visual Studio 2008\Projects\SIA\Fuentes\UI\Forms\Catalogos\frmCatLineas.cs:line 34
Thanks in advance for your support.
Best Regards,
David Perez
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