C# help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marcyb
    New Member
    • Sep 2006
    • 6

    C# help

    I need help to return information to email address from item picked on a form. It has to be in html, or it is called echo print, I am a newbee
  • promiscuoustx
    New Member
    • Sep 2006
    • 11

    #2
    You may want to include the code you have started so the moderators have something to work with. When you put your code on the site, use
    Code:
    ...insert code here....
    Just a little advice from another newbie!! :-)

    Comment

    • marcyb
      New Member
      • Sep 2006
      • 6

      #3
      Originally posted by promiscuoustx
      You may want to include the code you have started so the moderators have something to work with. When you put your code on the site, use
      Code:
      ...insert code here....
      Just a little advice from another newbie!! :-)
      thank you for the advice; here is my code, and from this we are suppose to echo back to the person in the email what product they want more information on.

      <html>
      <head>
      <title>Shortpoc kets Computers and More</title>
      </head>

      <body>

      <h2>Shortpocket s Computers and More</h2>

      <%

      Response.Write "Hello " + Request.Form("t xtField") + "!<br>"
      Response.Write "What products would you like to see more of " + Request.Form("s elField") +"."

      %>

      <form action="Classic ASP.asp" method="post">

      Your First and Last Name:

      <input type="text" size="20" name"txtField" value="<%=Reque st.Form("txtFie ld")%>">

      <br>Please enter your email address:

      <input type="text" size="50" name"txtField" value="<%=Reque st.Form("txtFie ld")%>">



      <br>Please pick your product:

      <select name="selField" size="1">
      <option

      <% If Request.Form("s elField") = "Motherboar ds" Then Response.Write( "selected")
      %>>
      Motherboards</option>

      <option

      <% If Request.Form("s elField") = "Monitors" Then Response.Write( "selected")
      %>>
      Monitors</option>

      <option

      <% If Request.Form("s elField") = "CPU's" Then Response.Write( "selected")
      %>>
      CPU's</option>

      </select>

      <br>

      <input type="submit" value="Submit"

      </form>
      </body>
      </html>

      Comment

      • promiscuoustx
        New Member
        • Sep 2006
        • 11

        #4
        This looks more like designing a web page to me. But, I understand where you are wanting to go with this. Let me see what I can make of this....

        Comment

        • promiscuoustx
          New Member
          • Sep 2006
          • 11

          #5
          Are you using Front Page Editor or Dreamweaver or any others??? I highly recommend you look at the website below, because you are trying to write HTML code, but your code is not outputting what you want your users to see.

          http://www.webdesignfr omscratch.com/

          Look around on this site, and remember to use a basic text editor...such as notepad in Windows. And always remember your tags when coding. One bad tag can result in a major error on your web site. Also remember to keep the site as user friendly as possible. There is no reason to make your users search everywhere for what they are looking for.

          Comment

          • marcyb
            New Member
            • Sep 2006
            • 6

            #6
            Originally posted by promiscuoustx
            Are you using Front Page Editor or Dreamweaver or any others??? I highly recommend you look at the website below, because you are trying to write HTML code, but your code is not outputting what you want your users to see.

            http://www.webdesignfr omscratch.com/

            Look around on this site, and remember to use a basic text editor...such as notepad in Windows. And always remember your tags when coding. One bad tag can result in a major error on your web site. Also remember to keep the site as user friendly as possible. There is no reason to make your users search everywhere for what they are looking for.

            It is C# and all I need to echo print back to the email recpient what they want to see more of. Everything else works

            Comment

            • marcyb
              New Member
              • Sep 2006
              • 6

              #7
              Originally posted by marcyb
              It is C# and all I need to echo print back to the email recpient what they want to see more of. Everything else works
              and we have to check it in brinkster asp page checker

              Comment

              Working...