3
Reply

Image save in Sql Server using C#

suresh Palaniyappan

suresh Palaniyappan

Nov 9 2012 1:39 AM
3.2k
Hi Frnds,
I Have Table contains columns as emp_id int,emp_name varchar(30),emp_image image...For this table i have to save details from C# page.I have converted my image to byte[].
We have dbtypes as follows DbType.Object , DbType.Decimal,DbType.Binary,DbType.Int64,DbType.byte etc...In this how can send image byte[] to database(what dbtype i have to use).

Answers (3)