ASP commonly used functions: GetRsRows()
Author:Eve Cole
Update Time:2009-06-26 18:06:27
<%
Function GetRsRows(oRs)
Dim aArray
ReDim aArray(0, -1)
If TypeName(oRs) = "Recordset" Then
If Not ors.BOF Then ors.MoveFirst
If Not ors.EOF Then aArray = ors.GetRows()
End If
GetRsRows = aArray
End Function
%>