View Full Version : Tao Record set tu Store Procedure
Các Bác ơi! mình muốn tạo 1 record set từ một Store Procedure thì làm có được không vậy?
Dim Rs as ADODB.RecordSet
Set Rs=New ADODB.Recordset
Dim Cmd as ADODB.Command
Set Cmd=New ADODB.Command
With Cmd
.ActiveConection=....
....
.CommandText="Tên Store procedure"
....
Set Rs= .Excute
End With
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.