| 操作系统 办公 实用知识 设计 开发 WEB开发 移动开发 数据库 软件工程 网管 安全 管理 信息化 答疑 渠道 |
怎么在notes中联接sql server怎么在notes中联接sql server
Dim dataSource As String Dim userName As String Dim password As String Set con=New ODBCConnection Set uidoc=ws.CurrentDocument Set doc=uidoc.Document dataSource=doc.databs(0) userName=doc.user(0) password=doc.passt(0) If con.ConnectTo(dataSource,userName, password) Then doc.tbs=con.ListTables(dname) Call uidoc.refresh Msgbox"已经成功连接到数据库" Else Messagebox("与数据库连接失败") End If
今日推荐
|
重点推荐
领军企业技术文库
+更多领军技术文库
最新专题
电子杂志订阅
| ||||||||