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).database.AddInParameter(dbCommand,"@inLogo", DbType.Binary, logo); 解决方案 这篇关于使用C#将图像保存在Sql Server中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-15 00:16