goplaa says:
byte[] bytes = (byte[])reader["Data"];
Image1.ImageUrl = ByteArrayToImage(bytes).ToString();
Replace the above with the below code.
byte[] bytes = (byte[])reader["Data"];
string base64String = Convert.ToBase64String(bytes, 0, bytes.Length);
Image1.ImageUrl = "data:image/png;base64," + base64String;