Response Write After Updating Record (SQL)

Author Message
JBarbea1

  • Total Posts : 20
  • Scores: 0
  • Reward points : 0
  • Joined: 3/27/2007
  • Status: offline
Response Write After Updating Record (SQL) Thursday, May 24, 2007 11:37 PM (permalink)
0
Question ladies and gents.
 
How would I go about displaying a message on a page when a record has been updated (SQL).
 
Usually when I insert a record, I use:
 
<% IF (Request.ServerVariables("REQUEST_METHOD") = "POST") THEN Response.Write("Successfully Inserted Record") End IF %>
 
However, on the page that I am working with, I need to update the record, and the form has data in it "GET".  So the ServerVariable Request Method is "GET" whenever the page loads.
How can I confirm to the user that the record has been updated?  Does anyone have a trick to do such?
 
Open ears.  Maybe I'm thinking too much on the lines of ASP and SQL and not VBScript.
 
Any help is so appreciated.
 
-Jonathan
 
 
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9