473,395 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to write an aspx page to capture the content of my form from html web page

I have the web page (www.tapdat.net) written in html. I have also created a form on this web page, but I do not have any idea how to create the aspx page to capture and email to me (via my mailserver), the data the user enters and submits through the form. Any help on this would be great!
Nov 24 '10 #1
3 2438
Frinavale
9,735 Expert Mod 8TB
It sounds like you have a simple email page but, since it's plain HTML, you cannot send emails.

It's pretty simple to send an email in ASP.NET :)
This quick reverence on how to send an email using .NET covers how to accomplish this task.

The problem that you're going to have is submitting the content from your plain HTML form to an ASPX page that will do the email sending for you.

Since your page does not sound like it's too complicated, I recommend that you create an ASPX page instead of using the HTML page (it wouldn't take very long to create the aspx page to replace your existing HTML page). It will simplify things a lot if you do so.

-Frinny
Nov 24 '10 #2
Frinny is right..If still wish to go with your page to be HTML..Then try this..
Add a iFrame to your HTML with source pointing to your aspx page. The aspx contains only the widgets for input to be mailed and as well be part of your HTML. Put your mailing code in the aspx submit.

Hope helps..
Nov 25 '10 #3
Frinavale
9,735 Expert Mod 8TB
Aspdotnetuser, using an iFrame was one of the first things came to my mind as well but the fact remains that the HTML page cannot send emails. In other words, from what I understand of the question, the HTML page must submit the information it has gathered to server-side code that can send the email. J Wu would like to submit to an ASP.NET server side script. This is possible, but it would be much easier if the HTML page was actually an ASPX page.

Actually, now I think that J Wu might be interested in implementing a Web Service that can be called via JavaScript with the information gathered. It would be an interesting approach :)
Nov 25 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Mark | last post by:
I am creating a search engine that will scan pages on my Web site. I do not want any false-positive hits, being defined as any match that does not appear on the page using a Web browser. I am...
1
by: J P Singh | last post by:
Hey all I have an asp which page which generates an html page. When I print the page 2-3 lines go to the next page. If there a way in ASP/Java Script or VBScript to print the current page...
4
by: Rene Aube | last post by:
Hi everyone, I'm incharge of updating the stats on a chl hockey teams Web Site. I would like to know if there is a way (javascript) to be able to save the content of the CHL Statistics WebPage...
27
by: Oscar | last post by:
I am looking for a way to pass an ADO recordset that has been retrieved in an ASP page to another HTML-page. Is there someone who can provide me with a small sample or a link to see how this is...
1
by: Bob Segrest | last post by:
Hello Everyone, I know this has to be a silly question, please allow me to ellaborate... I have created an ASP.Net application (my .ASPX page) that I would like to add to an existing web...
3
by: Axel Dahmen | last post by:
Hi, in order to add user dependant style sheets to my HTML pages I'd like to create an ASPX wrapper page which reads an HTML page, adds a currently selected style sheet and then outputs the rest...
3
by: Al | last post by:
Hi Many thanks in advacne, does anyone know how to display contenet of a Html page on a VB form.? can this be display in a RichRextBox? if yet how.. Many thank Al
4
by: Ola Abdel Mageed | last post by:
Hi all, I'm working on a html project where i need to put na excel file(which i made it an html page)i it. The problem is that the excel file has sheets in the form of tabs and when i open this...
2
by: Fabio Mastria | last post by:
My application has to call a webpage with some hidden field, fill their values with some parameters and then call the submit to the form which has the action property set to a page of another web...
1
by: Harsha | last post by:
Hi, I am using curl to capture the contents of the web page into a variable, but i am having problems when the url given to curl gets redirected to another page. Please suggest me, is there a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.