摘要:
创建Excel,把数据存入Excel Private Sub ComExport_Click() Dim xlApp As New Excel.Application Dim xlBook As New Excel.Workbook '定義Excel工作簿對象 Dim... 阅读全文
摘要:
存储过程如下create proc sp_recordset @bbb int as select * from aaa where bbb = @bbbvb代码如下: Dim cmd As ADODB.Command Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim ADOPrm Set ADOPrm = ... 阅读全文