set adodc.recordsource="sql语句”
解决方案 »
- 急急
- 请问怎样可以用vb修改文档特定行的内容呢,我只会编打开保存文档的vb程序,中间部分的不会。请高手关注,谢了
- 如何给一个软件作不同语言的版本?
- 一个关于sql2000和XML的问题
- ConnectString = "FileDSN=personnel.dsn;UID=sa;PWD="?
- ******treeview我其中有的加了ioc有的没有,没有的前面会空一块不好看如何解决?****
- 哪里有VB基本控件的安装包?高分求援!
- 怎么反汇编activex.dll/ocx/exe?!
- ql = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://127.0.0.1/register.mdb;Persist Security Info=False" 这样写中不?
- 如何将我的vb工程解除sourcsafe的控制?
- 再使用open ...as ...#1的时候
- ado连接oracle数据库的connect字符串,具体怎么写,请指教,谢谢
Dim Conn As ADODB.Connection
Dim Re As ADODB.Recordset
Set Conn = New ADODB.Connection
Conn.Open "Provider=MSDAORA.1;Password=erpii;User ID=erpii;Data Source=erp;Persist Security Info=True"
'Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Microsoft Visual Studio\VB98\BIBLIO.MDB;Persist Security Info=False"
Set Re = New ADODB.Recordset
Re.CursorLocation = adUseClient
strSql = "select * from tab1"
Re.Open strSql, Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
Set HJ_Grid1.RecrsAdd = Re