![]() |
nanya load image dari mysql di vb.net 2008 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> |
All times are GMT +7. The time now is 11:18 AM. |