br />?舉例如下:
???
???
???
???
???
??? ??? Set cn = Server.CreateObject("ADODB.Connection")
??? cn.Open Application("guestDSN")
??? sql = "SELECT * FROM authors"
??? Set RS = cn.Execute(sql)
??? ary = rs.GetRows(10)
??? rs.close
??? cn.close
??? %>
???
???
??? ??? nRows = UBound( ary, 2 )
??? For row = 0 To nRows %>
???
???
???
???
???
???
???
? |
???
?
??? 以上詳細的說明GetRows的用法,感謝大家的閱讀,更多內容請關注錯新技術頻道網站。
新聞熱點
疑難解答