How to get the number of records when using Set ors=oConn.Execute() in ASP
In ASP, if you use Set ors=oConn.Execute() to create a RecordSet object, and then use RecordSet.RecordCount to get the number of records, you will find that its value is -1. At this time, we can use the GetRows method to obtain Number of records. Copy cod
2025-02-10