protected void Page_Load(object sender, EventArgs e)
        {
            if (uid == null)
            {
                Response.Redirect("../../LogInPage.aspx");
            }
            if (!IsPostBack)
            {
                try
                {
                    string text = null;

                    string[] temp = receiverid.Split(',');
                    for (int i = 0; i < temp.Length; i++)
                    {
                        int       personmemberid = Convert.ToInt32(temp[i]);
                        BasicInfo personinfo     = BasicInfoBusiness.GetBasicInfoById(personmemberid);
                        if (temp[i] != "" && personinfo != null)
                        {
                            text     += personinfo.Email + ",";
                            receiver += personinfo.Email + ",";
                        }
                    }
                    receiver = receiver.Substring(0, receiver.Length - 1);
                    this.Label_MessageTo.Text = text.Substring(0, text.Length - 1);
                }
                catch
                {
                }
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (uid == null)
     {
         Response.Redirect("../../LogInPage.aspx");
     }
     if (!IsPostBack)
     {
         try
         {
             string   receiver_text = null;
             string[] temp          = receiverid.Split(',');
             for (int i = 0; i < temp.Length; i++)
             {
                 int       id         = Convert.ToInt32(temp[i]);
                 BasicInfo personinfo = BasicInfoBusiness.GetBasicInfoById(id);
                 if (personinfo.Phone != null && personinfo.Phone.ToString() != "")
                 {
                     receiver      += personinfo.Phone + ",";
                     receiver_text += personinfo.Phone + ",";
                 }
             }
             receiver        = receiver.Substring(0, receiver.Length - 1);
             this.tb_To.Text = receiver_text.Substring(0, receiver_text.Length - 1);
             //XF.ServiceReference3.MsgModemWebServerSoapClient com = new ServiceReference3.MsgModemWebServerSoapClient();
             //this.TB_Content.Text = com.GetComNum();
         }
         catch
         {
             ScriptManager.RegisterStartupScript(UpdatePanel1, this.GetType(), "alter", "alert('数据加载错误')", true);
         }
     }
 }