Failed to convert parameter value from a String to a Byte[].

Jan 31 2011 6:47 AM

hi,
in cs page i am going to insert some values and the coversion of bytefile to the sql table using stored procedure. i assign the value to the parameter.when i execute it
cmd.executenonquery()//Failed to convert parameter value from a String to a Byte[].
this error will occur.How to solve this

Answers (12)