Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone using MM.NET with OleDB Providers?
Message
De
15/02/2005 07:11:23
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brésil
 
 
À
15/02/2005 05:32:38
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00986888
Message ID:
00986942
Vues:
34
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform