Bineesh  Viswanath

Bineesh Viswanath

  • NA
  • 1k
  • 777.3k

Error in Inserting image into Database in ASP.NET

May 24 2016 5:32 AM
Sir,
 
I am in a midst of an error while working on inserting image into database.
 
ASP.NET is the platform and SQL SERVER is the RDBMS.
 
My error is : -Failed to convert parameter value from a String to a Byte[].
 
 
Please go through the screenshot and  reply with the correct code.
 
 
 
 
Please take a look to the table structure where I want to insert my data:-
 
 
 
my sql server query to insert data:-
 
 
 And finally the c# code for insert function:-
 
 

Answers (5)