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).
Loading
Neha SharmaPosted Nov 9, 2012, 3:49 AM
Refer the following links please :
http://www.c-sharpcorner.com/Forums/Thread/190743/store-image-files-in-sql-server.aspx
http://www.c-sharpcorner.com/Forums/Thread/191149/how-to-store-images-in-sql-server-2005-database.aspx
http://www.c-sharpcorner.com/Forums/Thread/191148/how-to-store-images-in-sql-server-2005-database.aspx
http://www.c-sharpcorner.com/Forums/Thread/191148/how-to-store-images-in-sql-server-2005-database.aspx
Hope these help you,if it helps you mark it as answer.
suresh PalaniyappanPosted Nov 9, 2012, 2:13 AM
Vithal WadjePosted Nov 9, 2012, 1:57 AM