Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone using MM.NET with OleDB Providers?
Message
From
15/02/2005 05:32:38
 
 
To
14/02/2005 22:46:39
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00986888
Message ID:
00986927
Views:
36
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform