Hello,

Using v2.0.1.0
I'm running into this problem on a parameterized insert, Is there a way to
work around this?

Unable to cast object of type
'FirebirdSql.Data.FirebirdClient.FbParameter' to type
'FirebirdSql.Data.FirebirdClient.FbParameter'

insert into CtArcMsgs (ArcMsgSrcTbl, ArcMsgSrcTblId, ArcNameTitle,
ArcEmailFrom, ArcEmailTo , ArcSubject, ArcPost, ArcFileName, ArcCity,
ArcState, ArcCountry) values (@ArcMsgSrcTbl, @ArcMsgSrcTblId,
@ArcNameTitle, @ArcEmailFrom, @ArcEmailTo , @ArcSubject, @ArcPost,
@ArcFileName, @ArcCity, @ArcState, @ArcCountry) ;


 FbParameter[] parameters =
 {new FbParameter("@ArcMsgSrcTbl"      ,FbDbType.Integer   ,0)
 ,new FbParameter("@ArcMsgSrcTblId"    ,FbDbType.Integer   ,0)
 ,new FbParameter("@ArcNameTitle"      ,FbDbType.VarChar   ,128)
 ,new FbParameter("@ArcEmailFrom"      ,FbDbType.VarChar   ,128)
 ,new FbParameter("@ArcEmailTo"        ,FbDbType.VarChar   ,128)
 ,new FbParameter("@ArcSubject"        ,FbDbType.VarChar   ,512)
 ,new FbParameter("@ArcPost"           ,FbDbType.VarChar   ,8192)
 ,new FbParameter("@ArcFileName"       ,FbDbType.VarChar   ,256)
 ,new FbParameter("@ArcCity"           ,FbDbType.VarChar   ,128)
 ,new FbParameter("@ArcState"          ,FbDbType.VarChar   ,128)
 ,new FbParameter("@ArcCountry"        ,FbDbType.VarChar   ,128)
 };


Thanks,

Kyle



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to