Skip to content

Вэбээс хэрэглэгчийн хvсэлтийг мэйл рvv илгээх

December 19, 2006

<%@ Page Language=”VB” AutoEventWireup=”false” CodeFile=”Registration.aspx.vb” Inherits=”Registration” %>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title>
 <form id=”form1″ runat=”server”>
<asp:TextBox cssclass=”textinput”  ID=”name” runat=”server”></asp:TextBox>
<asp:TextBox cssclass=”textinput”  ID=”position” runat=”server”></asp:TextBox>
<asp:TextBox cssclass=”textarea”  ID=”address” runat=”server” Columns=”50″ Rows=”10″ TextMode=”MultiLine”>
<asp:Button ID=”RegisterBtn” CssClass=”buttonSubmit” text=”Register” runat=”server” OnClick=”RegisterBtn_Click”/>   
<input name=”reset” type=”reset” class=”buttonSubmit” value=”Reset” />       

/************************ Registration.aspx.vb *********************/

Imports System.Web.Mail
Partial Class Registration
    Inherits System.Web.UI.Page

    Protected Sub RegisterBtn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles RegisterBtn.Click
        Dim title As String = “”
        Dim objMail As New MailMessage
        Dim mailFormat As New MailFormat
        objMail.From = “
        objMail.To = “
        objMail.Subject = “Message title”
        objMail.BodyFormat = Mail.MailFormat.Html
        Dim body As String

        body = “<table border=1 style=’border-collapse:collapse’ cellspacing=3<tr><td>Name: </td><td>” + name.Text + _
               “</td></tr><tr><td>Position: </td><td>” + position.Text + _
               “</td></tr><tr><td>Address: </td><td>” + address.Text + _”</td></tr></table>”
        objMail.Body = body
        SmtpMail.SmtpServer = “localhost”
        thankyou.Text = “Thank you for registering. ”
    End Sub
End Class

/********************* web config *******************************/
<?xml version=”1.0″?>
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
            Set compilation debug=”true” to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.

            Visual Basic options:
            Set strict=”true” to disallow all data type conversions
            where data loss can occur.
            Set explicit=”true” to force declaration of all variables.
  <compilation debug=”true” strict=”false” explicit=”true”/>
    <add namespace=”System”/>
    <add namespace=”System.Collections”/>
    <add namespace=”System.Collections.Specialized”/>
    <add namespace=”System.Configuration”/>
    <add namespace=”System.Text”/>
    <add namespace=”System.Text.RegularExpressions”/>
    <add namespace=”System.Web”/>
    <add namespace=”System.Web.Caching”/>
    <add namespace=”System.Web.SessionState”/>
    <add namespace=”System.Web.Security”/>
    <add namespace=”System.Web.Profile”/>
    <add namespace=”System.Web.UI”/>
    <add namespace=”System.Web.UI.WebControls”/>
    <add namespace=”System.Web.UI.WebControls.WebParts”/>
    <add namespace=”System.Web.UI.HtmlControls”/>
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
  <authentication mode=”Windows”/>
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.

       <customErrors mode=”Off”/>


6 Comments leave one →
  1. Batbayar permalink
    March 2, 2007 2:15 am

    Sain baitsgaana uu?

    Bi USA -d surguuli tugssun systems analyst khiideg. Bi mergejliin developer bish uchir mergejliin khumuuseer
    zaalgakh gesen yum.

    Ehnii eeljind Bi GRID,CHART,dropdown box aguulsan gants aspx khuudas khiilgeh gesen yum. Database ni SQL 2000.

    SQL-n stored procedure–g duudaj data-g grid deer ba Syncfusion chart deer haruulah yum.

    Kherev ta buhen zavtai bol une khulsnii talar sanalaa yavuulana uu?

  2. May 30, 2007 1:23 am

    Hi. It’s about game.
    dog rape [url=] dog rape [/url] [link dog rape [/link]
    family violence [url=] family violence [/url] [link family violence [/link]
    incest [url=] incest [/url] [link incest [/link]
    incest fuck [url=] incest fuck [/url] [link incest fuck [/link]
    incest sites [url=] incest sites [/url] [link incest sites [/link]
    incest forum [url=] incest forum [/url] [link incest forum [/link]
    forced rape [url=] forced rape [/url] [link forced rape [/link]
    incest taboo forum [url=] incest taboo forum [/url] [link incest taboo forum [/link]
    forced anal [url=] forced anal [/url] [link forced anal [/link]
    forced witness [url=] forced witness [/url] [link forced witness [/link]

  3. June 7, 2007 5:40 pm

    Hi. It’s about game.
    incest stories [url=] incest stories [/url] [link incest stories [/link]
    brutal rape [url=] brutal rape [/url] [link brutal rape [/link]
    rape stories [url=] rape stories [/url] [link rape stories [/link]
    free incest videos [url=] free incest videos [/url] [link free incest videos [/link]
    incest chat [url=] incest chat [/url] [link incest chat [/link]

  4. July 11, 2007 9:54 pm

  5. July 11, 2007 9:55 pm

    chi chini yamar ichdegui yum asuuj bna aa. usa d tugschihuud system analyst hiideg baij iim yum uuruu net uhaad surahgui yu chi 😛

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: