标题: 求救 [打印本页] 作者: 村上舞!舞!舞 时间: 2005-11-15 17:44 标题: 求救 SQL SEVE的库在JACKXING这台机上,库名为EvaluateDB,其中的表名为:publicLogin.登录ID为SA密码为12345…………
为了访问到这张表并执行select * from publiclogin命令.代码应该怎么写,自己总是写不成。希望哪位指点一下,在这里谢谢了,有点急呀我在线等。作者: 村上舞!舞!舞 时间: 2005-11-15 17:47
Dim Result As Integer
dim out1(1 to 5,1 to 100) as Variant
dim connection,i as long
Dim retcode As Variant
dim cnStr,outputstr,query as string
i=1
cnStr="driver={SQL Server};server=(JACKXING);uid=sa;pwd=12345;database=EvaluateDB"
onnection = SQLOpen(cnStr,outputstr,prompt:=4)