我正在做一个关于 MOBILE ADVERTISING 的项目。我使用以下代码,我必须以 msg 到移动设备的形式向用户发送广告。这是我使用的代码 -
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using net.webservicex.www;
public partial class msg : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
try
{
net.webservicex.www.SendSMS smsIndia = new net.webservicex.www.SendSMS();
smsIndia.SendSMSToIndia(Txt_Mobile.Text, TxtEmail.Text.Trim(), TxtMessage.Text);
Label3.Visible = true;
Label3.Text = "Message Send Succesfully";
}
catch (Exception ex)
{
Label3.Visible = true;
Label3.Text = "Error in Sending message" + ex.ToString();
}
}
}
显示“net”时出现错误,错误是找不到类型或命名空间名称“net”(您是否缺少 using 指令或程序集引用?)
我绝望地寻找解决方案..请帮助...-(