User Profile
Collapse
-
I have found the source of the problem, it has something to do with the 'text' data type of Sybase, and not with ASP. Still I cannot find any document on that topic :( -
Btw, if I call this first,
Then I can get all the fields of that recordset in any order correctly for the current row, if I do a moveNext, then the problem apear again.Code:for (var i=0; i<rs.Fields.Count; i++) Response.Write(i+" "+rs.Fields(i).Name+" "+rs.Fields(i).Value+"<br />");Leave a comment:
-
Cannot get the field value from ADODB recordset
Hi,
I'm working on an ASP Jscript page run on IIS 5. However i got a very strange problem:
The code is like this
...Code:var rs = getPaymentDetail(pId);//Get the ADODB record set this.paymentId = pId; this.agreementId = String(rs("AgreementId")); this.supplierId = String(rs("SupplierId")); this.supplierName = String(rs("SupplierName")); Response
No activity results to display
Show More
Leave a comment: