sean kehin

sean kehin

  • NA
  • 12
  • 7.7k

How to send content of an asp.net page

Nov 9 2009 8:11 PM
I have a form that is like a questionnaire. I am trying to no avail to send an image of the form(aspx page) to myself after it's been completed.

here is my code

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Questionnaire.aspx.cs" Inherits="Questionnaire" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link href="style.css" rel="stylesheet" type="text/css" />
    <title>Survey</title>
   
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <img src="img/hotsaucepepperpalace.gif" /><br />
        <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>&nbsp;&nbsp;
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    </div>
    <div>
        <asp:Button ID="Button1" runat="server" Text="Sen" />
    </div>
    </form>
</body>
</html>


Answers (7)