I am using way2sms third party control for sending sms from my pc to mobile in my application. Here is my code.
SendSms sms = new SendSms();
string status=sms.send(txtID.Text, txtPass.Text, txtMessage.Text, txtMN.Text);
if (status == "1")
MessageBox.Show("Sent successfully", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
else if (status == "2")
MessageBox.Show("No Internet Connection", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
else
MessageBox.Show("ID or Password is not correct", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);`
Every time i get the Error "2" which says No Internet Connection.
Anyone is there to help me out ?