thanks for all answer. 
My app rebegun to work!
thanks again 
Andrea

  _____  

Da: Koka Kiknadze [mailto:[EMAIL PROTECTED] 
Inviato: martedì 10 aprile 2007 16.47
A: [email protected]
Oggetto: Re: Insert BLOB with Sql Server


Hm, it works for me quite straighforward. I have a table with two columns:
ImageID: numeric and Image: image. Also I have a ByteStore class with two
fields int bytesID and byte[] bytes. 

The SQLMap is trivial, and it works (I use it to store uploaded images, ) 
<insert id='insertByteStore' parameterClass='.....ByteStore'>
     insert into Images (ImageID,image) 
         values ( #bytesID#,#bytes#) 
</insert>



Reply via email to