I am trying to insert a mdi file in a SQL Server 2008 table.
Do you know how can I do this?
My table has the following structure
Create table employées
(
Id_employee int,
Mdi_employee image
)
I am trying to insert a mdi file in a SQL Server 2008 table.
Do you know how can I do this?
My table has the following structure
Create table employées
(
Id_employee int,
Mdi_employee image
)
Convert your MDI file into Byte format and then use normal query to insert that image.
For More information : C# Resize jpg image, convert to byte and save into database using varbinary