while (dr.Read())
{
Label1.Text = dr[
"name"].ToString();
string image1 = Convert.ToString(DateTime.Now.ToFileTime());
FileStream fs1 = new FileStream(Server.MapPath("~/images/" + image1), FileMode.Create, FileAccess.Write);
byte[] bimage1 = (byte[])dr["imagestd"];
fs1.Write(bimage1, 0, bimage1.Length - 1);
fs1.Flush();
Image1.ImageUrl =
"~/images/" + image1;
// Context.Response.ContentType = "image1/jpeg";
// Context.Response.OutputStream.Write(byteArray, 0, byteArray.Length);
//memoryStream.Write(byteArray, 0, byteArray.Length);
// Context.Response.Buffer = true;
// Context.Response.BinaryWrite(byteArray);
}