Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheriting Business Form
Message
 
To
17/05/2011 00:09:27
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01510838
Message ID:
01511910
Views:
42
Hi David,
I don't think you need the ": base()".
Linda

>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
Linda Harmes
HiBit Technologies, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform