Hai, i give a suggestion..
here u add
uid=(Your mobile number)
pwd=(way2sms pwd)
msg=(Your Text) in this coding i used "Testing of my project"
And also you can add namespaces
"
using System.Net.Mail;<br />
using System.IO.Ports;
"
try this it will surely helps you...
Have a happy day!!
string Address = "http://ubaid.tk/sms/sms.aspx?uid=9876543210&pwd=sample &msg=Testing of my project &phone=" + TextBox3.Text + "&provider=way2sms";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Address);
WebResponse response = null;
StreamReader reader = null;
response = request.GetResponse();
reader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
string result = reader.ReadToEnd();
reader.Close();
if (result == "1")
{
Label8.Text = "Mail and Sms has Sent ";
(or)
Response.Write("SMS sent successfully");
}