string imgname = "Pictures/" + pic1.jpg; using (System.IO.FileStream fs = New System.IO.FileStream(Server.MapPath("imgname"), System.IO.FileMode.Append, System.IO.FileAccess.Write, System.IO.FileShare.Read, 8, System.IO.FileOptions.None))) { Byte[] byte1 = System.IO.File.ReadAllBytes(open.FileName); fs.Write(byte1, 0, byte1.Length); fs.Flush(); fs.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)