FileInfo image = new FileInfo(context.Server.MapPath("~/Product_Images/Image-under-update.gif")); string image1 = image.ToString(); byte[] buffer = File.ReadAllBytes(image1); // here you will get binary data which you can insert into database context.Response.BinaryWrite(buffer);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)