using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using WeiSha.Common;
using Song.ServiceInterfaces;
using Song.Entities;
using WeiSha.WebControl;
using System.Xml;
namespace Song.Site.Manage.SMS
{
public partial class Overage : Extend.CustomPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
fill();
btnEnter_Click(null, null);
}
}
///
/// 设置初始界面
///
private void fill()
{
///当前短信平台
lbPlate.Text = WeiSha.SMS.Config.Current.Remarks;
//短信帐号
lbName.Text = WeiSha.SMS.Config.Current.User;
//密码
lbPw.Text = WeiSha.SMS.Config.Current.Password;
}
///
/// 修改
///
///
///
protected void btnEnter_Click(object sender, EventArgs e)
{
try
{
int result = WeiSha.SMS.Gatway.Service.Query();
lbOverNumber.Text = "" + result + "条";
}
catch (Exception ex)
{
lbOverNumber.Text = ex.Message;
}
}
}
}