General information
Category:
The Mere Mortals .NET Framework
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only