📄 16122.html
字号:
<html>
<head>
<title>Re: 关于ADODC中资料库的相对路径问题~~~~!!!!</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 关于ADODC中资料库的相对路径问题~~~~!!!!</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by yeong huann on July 25, 1999 at 02:21:40:<p>
In Reply to: <a href="16108.html">关于ADODC中资料库的相对路径问题~~~~!!!!</a> posted by BEN on July 24, 1999 at 22:41:28:<p>
不建议用控制项直接连上资料库,因为有太多状况不能掌握,你应用ADO来连结<p>Dim conn1 As New ADODB.Connection<br>Dim rs1 As New ADODB.Recordset<p>Dim Connstr1 As String<br>Dim DataAppfilename1 As String<br>DataAppfilename1 = "Data Source=" & App.Path & "\" & "ALLData.mdb"<p>Connstr1 = "Provider=Microsoft.Jet.OLEDB.3.51;" & DataAppfilename1<br>conn1.Open Connstr1<p>rs1.CursorLocation = adUseClient<br>rs1.Open "tb_Song", conn1, adOpenDynamic, adLockOptimistic<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 16122-->
</ul><!--end: 16122-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -