I have make a sms project in C#.net and the source code is following
using
System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Data;
using
System.Drawing;
using
System.Linq;
using
System.Text;
using
System.Windows.Forms;
using
SmsClient;
namespace
Sms_
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
SendSms sms = new SendSms();
string status = sms.send(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text);
if (status == "1")
{
MessageBox.Show("Message Send");
}
else if (status == "2")
{
MessageBox.Show("No Internet Connection");
}
else
{
MessageBox.Show("Invalid Login Or No Internet Connection");
}
}
private void button1_Click(object sender, EventArgs e)
{
textBox1.Clear();
textBox2.Clear();
textBox3.Clear();
textBox4.Clear();
private void button4_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
}
before writing this code I've bind through Smsclient.dll
I am giving same user ID and password of my way to sms but it's giving "Invalid Login Or No Internet Connection"
plz help me what I can do