# 一样..............

Posted by ADO on October 22, 1999 at 23:43:52:

In Reply to: Re: 真的不了解....... posted by Joint on October 22, 1999 at 14:09:39:

: 做了修改,试看看吧...
: 放一个datagrid及adodc观察看看

: Dim cn As ADODB.Connection
: Dim rs As ADODB.Recordset
: Set cn = New ADODB.Connection

: cn.CursorLocation = adUseClient
: cn.Open "PROVIDER=Microsoft.Jet.OLEDB.3.51;Data Source=d:\database\music.mdb;"

: Set rs = New ADODB.Recordset
: rs.Open "select * from comic_name", cn, adOpenStatic, adLockOptimistic

: Set DataGrid1.DataSource = rs
: Set adodc1.Recordset = rs

: 'Set Text1.DataSource = rs
: 'Text1.DataField = "索引"

结果还是一样....一样的排序......

谢谢你.....

Follow Ups:

- Re: 一样.............. Joint 15:13:59 10/23/99 (1)
  - Re: 一样.............. ADO 19:23:23 10/23/99 (0)