![]() |
Creating a Table at the click of a button with classic asp
Hello,
I need your help. I am trying to validate information, without switching the page (in this case a username, if the username is found, great, populate a textbox and dynamically create a table with the username it it). However, I am getting an error on line 75 that reads: Code:
ADODB.RecordsetCode:
<% |
Please, next time TELL US WHAT LINE the error is on, so we don't have to count lines.
Okay, so the error is here: Code:
While NOT rs.EOFYou really don't think that the ASP engine is making a mistake, do you? Anyway, look carefully at your code: The only time you OPEN the recordset is after this code: Code:
If Request.Form("Submit") = "Test" Then*CLEARLY* the first time you reach this page, that will *NOT* be true, so clearly until the <form> is submitted, the recordset WILL NOT BE OPEN. I'm trying really hard to see what the point of your code is, but I can't. You do a WHILE loop on the recordset, but NO PLACE AT ALL inside the loop do you even TRY to get any values from the recordset. So the whole loop seems utterly pointless. I really have no idea what you are trying to do here, so I have no idea how to help you. |
| All times are GMT +1. The time now is 12:54 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.