|
From: Kyle G. <ky...@ne...> - 2007-02-01 23:21:19
|
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
|