怎样用vb把本地的bmp,gif文件存到数据库中去
Dim a As Variant
Dim MyChar As Byte
a = ""
Open "w:\hare.bmp" For Binary Access Read As #1 ' Open file.
Do While Not EOF(1) ' Loop until end of file.
Get #1, , MyChar
'Debug.Print MyChar ' Print to the Immediate window.
a = a + ChrB(MyChar)
Loop
Close #1 ' Close file.
????????
怎么用ado存a到pubs.pub_info
mssql70,database:pubs,dns:pubs,pws:='',user:sa,table:pub_info