PHPmaster
20th November 2011, 09:16 AM
gan ane lagi buat program untuk teman ane
pas coba baca data bertipe blob kok gak bisa yah, errornya parameter is not valid
Dim imageBytes() As Byte = Nothing
imageBytes = CType(.objDataReader.Item("Gambar_Depan"), Byte())
Dim ms As New System.IO.MemoryStream(imageBytes.Length)
Dim bmap As New Bitmap(ms)
pb_gambar_depan.Image = CType(bmap, Image)
pb_gambar_depan.SizeMode = PictureBoxSizeMode.StretchImage
knp ya gan, bantuian ane ya
:ceriwislove:
</div>
pas coba baca data bertipe blob kok gak bisa yah, errornya parameter is not valid
Dim imageBytes() As Byte = Nothing
imageBytes = CType(.objDataReader.Item("Gambar_Depan"), Byte())
Dim ms As New System.IO.MemoryStream(imageBytes.Length)
Dim bmap As New Bitmap(ms)
pb_gambar_depan.Image = CType(bmap, Image)
pb_gambar_depan.SizeMode = PictureBoxSizeMode.StretchImage
knp ya gan, bantuian ane ya
:ceriwislove:
</div>