insert script for 'Image' type data
i am getting the problem to generate the 'insert into' script for table.table having the column Photo an which is of 'Image' type.
how i can generate the insert script for it.
(i am trying with MyGeneration tool to gene开发者_开发知识库rate insert script but it fails to generate)
is there any way or tool to generate insert script.
thanks in advance
You need to convert image to byte[] to insert it into database
Here is Storing and Retrieving Images from SQL Server using Microsoft .NET article, which will be helpful for your task.
精彩评论