+ If imgpath <> "" Then
+ Dim img As Image = Image.FromFile(imgpath)
+ Dim bArr As Byte() = imgToByteArray(img)
+ ' da.InsertQuery(txtFirstName.Text, txtLastName.Text, txtAddress.Text, txtTown.Text, txtPostcode.Text, CardNum, CVC, txtIGN.Text, txtEmail.Text, bArr)
+ dr.Item("ProfilePic") = bArr
+ End If
+ '