Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB
Do While NOT Recordset.Eof
    Response.Write ("found";)
    Response.Write Recordset("name")
    Response.Write Recordset("pword")
    Response.Write Recordset("role")
    Response.Write 
    Recordset.MoveNext
Loop


The following code is displaying that "found" twice as the table "user" in sql databse contain 2 record But is not displaying the value.

Can any1 tell me why??????
Posted
Updated 16-Dec-13 7:05am
v2
Comments
Maciej Los 16-Dec-13 13:07pm    
???
Please, be more specific and provide more details...
What kind of type of Recordset? How do you create it?
joginder-banger 16-Dec-13 13:21pm    
Plz share more information and post you example with understandable language.....what's you want..
ZurdoDev 16-Dec-13 17:50pm    
Try RecordSet(1) to see what happens.

1 solution

Most likely reason is that you have the column names wrong. Try the indices, as someone suggested.

If you have ANY chance to get away from classic ASP, which has been unsupported for a decade and always sucked, do it. You are coding in an enclave that will wither and die.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900