From: Hugo H. <hug...@gm...> - 2004-01-07 16:44:19
|
HI, I'd like to save images in a blob field. But I don't know which FbType to use for the parameter creation. I use following sql: _cmdText = "INSERT INTO T_ARTICLE(A_ARTICLE_ID, A_IDENT, A_NAME, A_DESCRIPTION,A_IMAGE) "; _cmdText += " VALUES(@articleId,@articleIdent,@articleName,@articleDescription,@articleIma ge) "; And one of my parameter description is _command.Parameters.Add("@articleImage",FirebirdSql.Data.Firebird.FbDbType.B inary).Value = articleImage.Image; articleImage is a PictureBox and the whole stuff is written in C#. Could anyone please give me a hint how to do this with this provider ? Thanks in advance Oliver |