Saturday, February 22, 2014
Phoenix Technologies: GPS Tracking Mode
Phoenix Technologies: GPS Tracking Mode: GPS Tracking Pro keeps your family and friends safe by tracking their real-time location using any Android phone. With the best in GPS tech...
Saturday, February 15, 2014
Set Key In AppSetting
<appSettings>
<add key="ApplicationName" value="AppName" />
<add key="Company" value="Company Name" />
<add key="CompanyURL" value="Url" />
</appSettings>
<add key="ApplicationName" value="AppName" />
<add key="Company" value="Company Name" />
<add key="CompanyURL" value="Url" />
</appSettings>
Send Message From own site to Mobile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Mail;
using System.Web.Services.Protocols;
using System.Web.Services;
public partial class _Default : System.Web.UI.Page {
protected void Page_Load(object sender, EventArgs e){ }
protected void Button1_Click(object sender, EventArgs e){
try
{
SmsTest.net.yoursite.www.SendSMS smsIndia= new SmsTest.net.yoursite.www.SendSMS();
SmsTest.com.yoursite.www.SendSMSWorld smsWorld =new SmsTest.com.yoursite.www.SendSMSWorld();
if(rdoType.SelectedValue == "1")
smsIndia.SendSMSToIndia(TextBox3.Text.Trim(),
TextBox1.Text.Trim(), TextBox4.Text);
else
smsWorld.sendSMS(TextBox1.Text.Trim(),
TextBox2.Text.Trim(),
TextBox3.Text.Trim(), TextBox4.Text);
lblMessage.Visible = true;
lblMessage.Text = "Message Send Succesfully";
}
catch (Exception ex)
{
lblMessage.Visible = true;
lblMessage.Text = "Error in Sending message" + ex.ToString();
}
}
private void rdoType_SelectedIndexChanged(object sender, System.EventArgs e)
{
if(rdoType.SelectedValue =="1")
TextBox2.Enabled = false;
else
TextBox2.Enabled = false;
}
}
Subscribe to:
Comments (Atom)