Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone using MM.NET with OleDB Providers?
Message
From
15/02/2005 07:11:23
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
 
 
To
15/02/2005 05:32:38
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00986888
Message ID:
00986942
Views:
30
Hi Soenk

>Hi Eugenio,
>
>try omitting the questing mark in the delete parameter statement:
>instead of:
>//
>// oleDbDeleteCommand1
>//
>this.oleDbDeleteCommand1.CommandText = "DELETE FROM texto WHERE id_texto=?";
>this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("?id_texto",System.Data.OleDb.OleDbType.Integer, 0, "id_texto"));
>
>try:
>//
>// oleDbDeleteCommand1
>//
>this.oleDbDeleteCommand1.CommandText = "DELETE FROM texto WHERE id_texto=?";
>this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("id_texto",System.Data.OleDb.OleDbType.Integer, 0, "id_texto"));
>
>Regards, Soenke

I´ve tried this before. The result is the same: works outside MM.NET and fails with MM.NET.

Thank you.

Eugênio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform