hello! can any please help me?i have here my problem
Operator '&' is not defined for type 'Byte()' and string "|".
in Img = (dr(1)) & "|"
here's y codes
Dim Img As Image
Dim comm As New OdbcCommand
Dim dr As OdbcDataReader
conn.Open()
comm.Connection = conn
comm.CommandText = "select a.imgcatdesc, b.image from gallerycat_tbl a, gallery_tbl b where a.imgcatid = b.imgcatid"
dr = comm.ExecuteReader
countRec = 0
While dr.Read
descrec = (dr(0)) & "|"
Img = (dr(1)) & "|"
allRec.Add(descrec & Img)
countRec += 1
End While
Comments
Leave a comment