I am converting bytes into an image but I get an error
Parameter is not valid
I am pasting my code. Kindly check the code and
The problem is because, you are bringing it incorrectly from database. Try changing your code like this:
while (registry.Read()) { byte[] image = (byte[])registry["Image"]; }