string rowsid = GlobalClass.rowsID; image.Save(Application.StartupPath + @"\Signature\" + "Out" + "+" + GlobalClass.RepName + "+" + rowsid + ".JPG");
if (dr.Read()) { textBox2.Text = dr[7].ToString(); textBox5.Text = dr[12].ToString(); textBox3.Text = dr[10].ToString(); textBox4.Text = dr[11].ToString(); byte[] buffer = (byte[])dr[45]; MemoryStream strm = new MemoryStream(buffer); strm.Write(buffer, 0, buffer.Length); strm.Position = 0; Image img = Image.FromStream(strm); pictureBox1.Image = Image.FromStream(strm);//errorinvalid parameter
strm.Write(buffer, 0, buffer.Length); strm.Position = 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)