Results 1 to 3 of 3

Thread: Inserting a record in code

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Inserting a record in code

    I have a web page which allows users to enter details into a form and send
    an email.

    After they have sent the email I want to be able to redirect to a page which
    takes some of the fields used for the email and Insert them into an sql
    server table "tblCalls".

    Can someone tell me how I can do this in code? (VB.net)

    Thankyou

    Parksie

  2. #2
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    You should enter the records first, then redirect to a page that writes hidden form elements with an action of "mailto:[email protected]" and auto-submits the form.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  3. #3

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    Not a bad idea rat.

    Thanks. ENjoy your cave.

    Parksie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width