Click here to Skip to main content
16,022,667 members

Comments by kef ngunjiri (Top 9 by date)

kef ngunjiri 8-Jan-14 7:16am View    
I am sorry it still has the same problem,pls help.
kef ngunjiri 8-Jan-14 6:51am View    
iam new in vb how do you call the method pls explain
kef ngunjiri 28-Nov-13 9:57am View    
wow it's that simple thanks both of u
kef ngunjiri 28-Nov-13 9:26am View    
iam trying to put the code, but a syntax error at
byte[] data = (byte[]) dt.Rows[0]["IMAGE"];
it says
'Byte' is a type that cannot be used as an expression
kef ngunjiri 28-Nov-13 8:44am View    
iam new to vb can u please elaborate how is should add this statement
byte[] data = (byte[]) dt.Rows[0]["IMAGE"];
MemoryStream ms = new MemoryStream(data);
pictureBox1.Image = Image.FromStream(ms);
which i got from this link http://stackoverflow.com/questions/3440366/how-can-i-convert-system-byte-to-image-c-window-forms
i don't know how to put it in the code