[C# .NET 2.0] Paramètre de type DATE de FireBird
Je ne trouve pas comment convertir :
en type DATE pour FireBird 2.0...
je ne trouve rien dans
Code:
1 2
|
FirebirdSql.Data.FirebirdClient |
et une erreur
Citation:
{"conversion error from string \"2008-10-28\"\r\nAt procedure ''select_maligne"}
m'est renvoyé si je fais un :
Code:
1 2 3 4 5 6 7 8 9 10 11
|
FbConnection sqlConnection = new FbConnection();
FbCommand Cde = sqlConnection.CreateCommand();
Cde.CommandType = FbDbType.Date;
Cde.CommandText = "select_maligne";
FbParameter Par = Cde.CreateParameter();
Par.FbDbType = ParDBType;
Par.IsNullable = false;
Par.ParameterName = "MaDate";
Par.Value = DateTime.Today;
int r = Cde.ExecuteNonQuery(); |
alors que ma Procedure attend un type DATE... ????