w.iTbulo.combJJXD
wwww.iTbulo.combJJXD
cmd.Execute , Array(CStr(Now()), CSng(s))wwww.iTbulo.combJJXD
wwww.iTbulo.combJJXD
With cmd .ActiveConnection = conn .CommandType = &H0004 ''存储过程 .CommandText = "GetData" End Withwwww.iTbulo.combJJXD
wwww.iTbulo.combJJXD
Dim resultRS, resultArray Set resultRS = cmd.Execute(, Null)wwww.iTbulo.combJJXD
wwww.iTbulo.combJJXD
If Not resultRS.EOF Then resultArray = resultRS.GetRows() End Ifwwww.iTbulo.combJJXD
wwww.iTbulo.combJJXD
Set resultRS = Nothing Set cmd = Nothing conn.Close Set conn = Nothingwwww.iTbulo.combJJXD
wwww.iTbulo.combJJXD
Response.Write "<ul>" Dim i For i = 0 To UBound(resultArray, 2) Response.Write "<li>" & resultArray(0, i) Response.Write " " & resultArray(1, i) Response.Write " " & resultArray(2, i) Response.Write "</li>" Next Response.Write "</ul>" %>wwww.iTbulo.combJJXD
--------------------------------------------------------------------------------
运行结果。 wwww.iTbulo.combJJXD
wwww.iTbulo.combJJXD
感觉起来,速度似乎很快,呵呵~
不知道这样在 Access 中使用存储过程的意义大不大,不过确实很好玩 wwww.iTbulo.combJJXD
|