Osx Yosemite Hackintosh Download
You are writing the file as text, but you should be writing the raw bytes. A.PDF file is a binary file, not a text file, so in effect, you're filling it with the wrong data in your first code sample.Try Conn.Open;SqlCommand cmd = Conn.CreateCommand;cmd.CommandText = 'Select Artigo From Artigo WHERE (IDArtigo = @id)';cmd.Parameters.AddWithValue('@id', id);byte binaryData = (byte)cmd.ExecuteScalar..
카테고리 없음
2020. 11. 27. 02:53