a guest Jun 13th, 2018 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- using (OleDbCommand Update = new OleDbCommand(
- "UPDATE [BoardDetail] SET BoardImage= '(?)' WHERE BoardID='" + oItem.BoardID + "' AND BoardSerialNo='" + oItem.BoardSerialNo + "' ", connection))
- OleDbParameter imageParameter =
- Update.Parameters.Add("@image", OleDbType.Binary);
- imageParameter.Value = content;
- imageParameter.Size = content.Length;
- SET BoardImage= '(?)'
- SET BoardImage= @image
RAW Paste Data