Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in DataAccess class with System namespaces
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01242754
Message ID:
01243141
Views:
26
Greetings Kevin,

That did eliminate the error. I'll rename the business object.

I am getting a warning in all of the Data Adapters that's keeping the DA designer from displaying:

The DataAdapter.SelectCommand property needs to be initialized.

Regards,

E.R.

>Greetings Kevin,
>
>One of the tables in my database is named System. I'll try removing that business object for now and see if that eliminates the error. Thanks!
>
>E.R.
>
>>E.R.,
>>
>>>I used the Business Object Generator to generate objects with stored procedures. In the Data Aceess classes I'm getting erros with the Systeme namespace. Below is the line of code (created by the Business Object Generator) and the error message.
>>>
>>>private System.ComponentModel.IContainer components = null;
>>>
>>>The type name 'Data' does not exist in the type 'Travis.Travel.Business.System'
>>>
>>>public override System.Data.IDbCommand CreateUpdateCommand()
>>>
>>>The type name 'ComponentModel' does not exist in the type 'Travis.Travel.Business.System'
>>
>>It may be that the use of the word "System" in your namespace is confusing .NET. I found this out several years ago when first creating MM .NET. I had to refrain from using System in any MM .NET namespaces so the compiler and I could keep peace <s>.
>>
>>Best Regards,
Regards,

E.R. Gilmore
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform