vb60怎么接數據保存到數據庫中?
--先連接數據庫,再打開記錄集,搞定。Dim conn_ora As New ADODB.Connection '用于連接ORACLE數據源的連接conn_ora.ConnectionString = "Provider=MSDAORA.1;Password=111;User ID=system ;Data Source=orcl;Persist Security Info=True"conn_ora.OpenDim myrs_ora As New ADODB.Recordset '用于連接ORACLE數據庫的記錄集 myrs_ora.ActiveConnection = conn_ora.ConnectionString myrs_ora.Open ("Select * From AAA")