thats not what i meant. Instead of executing the sql statement do:
Response.Write("UPDATE Ques_Table SET userAns= '" & userAns & "' Where QuesNo ='" & ques & "'")
Look at hte statement, does it produce the update statement you THINK its producing.
Also, by and large, when a table doesn't update the correct row, its normally because of a failure in your WHERE clause.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========