Reply to topic
using asp
p_priya_1983


Joined: 27 Sep 2005
Posts: 2
Reply with quote
hi all,
i am new to asp programming.here is my doubt.
whlie a form is filled and submit is clicke d the information has to be stored in the database at the same time form with details has to be mailed to the administrator anybody knows how to do it?
Alan
HostMySite Marketing

Joined: 08 Mar 2004
Posts: 126
Reply with quote
You can using the ASPMail component to email the results of the form. Details on using this component can be found in our support section located at http://www.hostmysite.com/support/programming/

As for writing the information to a database, that is a bit more complicated. You will need to use the ADO recordset functionality in ASP. A good online reference tool is http://www.w3schools.com/ado/default.asp It covers ADO and gives code examples for various tasks that can be performed using ADO.
p_priya_1983


Joined: 27 Sep 2005
Posts: 2
Reply with quote
Thanks alan. Is there any option that the admin who gets the filled form can automatically enter the information in the form stored into database just by clicking on a URL.
ASP Programming
hnaulty


Joined: 23 Sep 2004
Posts: 16
Reply with quote
You can actually setup an ASP script page using the ADO object that Alan mentioned to reverse the process. You can program the page to pull the data and fill the form or automatically pull data and send it via email.
using asp
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic