|
<%@ Page language="c#" Codebehind="SendSms.aspx.cs" AutoEventWireup="false" Inherits="SmsTest.WebForm1" %>
<HTML>
<HEAD>
<title>Sending Text Messages with .NET</title>
</HEAD>
<body>
<h2>Sending Text Messages with .NET</h2>
<form method="post" runat="server" ID="Form1">
<table>
<TR>
<TD colSpan=2 height=22>
<asp:RadioButtonList id=rdoType runat="server" AutoPostBack="True" RepeatDirection="Horizontal" Width="304px">
<asp:ListItem Value="1" Selected="True">SMS to India</asp:ListItem>
<asp:ListItem Value="2">SMS to world</asp:ListItem>
</asp:RadioButtonList></TD></TR>
<TR>
<TD>Email Id</TD>
<TD>
<asp:TextBox id="txtEmailId" runat="server"></asp:TextBox>( ex
: test@test.com )</TD>
</TR>
<TR>
<TD>Country Code</TD>
<TD><asp:textbox id="txtCountryCode" runat="server" text=""></asp:textbox> (ex
: 91 for India</TD>
</TR>
<tr>
<td>Mobile/cell Number</td>
<td><asp:textbox id="txtMobileNo" runat="server" text=""></asp:textbox> ( ex
: 984xxxxxxxx )</td>
</tr>
<tr>
<td>Message</td>
<td><asp:textbox id="txtMessage" runat="server" rows="4" textmode="MultiLine"></asp:textbox></td>
</tr>
<tr>
<td></td>
<td align="right"><asp:Button id="Send" runat="server" Text="Send"></asp:Button></td>
</tr>
</table>
<asp:Label id="lblMessage" runat="server" forecolor="Red" Visible="False"></asp:Label>
</form>
</body>
</HTML>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
I have done Bachelor in Mechanical Engineering. I have strong background in C#, ASP.NET, SQL server 2000. And i also worked in some small application in Mobile.NET and CF.NET