hello everyone,
please see my code.
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
con.ConnectionString = mycnn
con.Open
Set rs.ActiveConnection = con
rs.CursorLocation = adUseClient
rs.LockType = adLockReadOnly
rs.CursorType = adOpenForwardOnly
rs.DataSource = "select * from products" 'about 30K records
rs.Open
Set bpartners.DataGrid1.DataSource = rs
My question is, its very slow on my dual core, 1gb memory computer. its takes about 60 seconds. Is there any other way to do it?
thank you very much.
please see my code.
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
con.ConnectionString = mycnn
con.Open
Set rs.ActiveConnection = con
rs.CursorLocation = adUseClient
rs.LockType = adLockReadOnly
rs.CursorType = adOpenForwardOnly
rs.DataSource = "select * from products" 'about 30K records
rs.Open
Set bpartners.DataGrid1.DataSource = rs
My question is, its very slow on my dual core, 1gb memory computer. its takes about 60 seconds. Is there any other way to do it?
thank you very much.