コード例 #1
0
 protected void IB_Delete_Click(object sender, ImageClickEventArgs e)
 {
     Messages_1.Delete();
     Messages_2.Delete();
     Messages_3.Delete();
     Messages_4.Delete();
     Messages_5.Delete();
     Messages_6.Delete();
     Messages_7.Delete();
     Messages_8.Delete();
     Messages_9.Delete();
     Messages_10.Delete();
     Response.Redirect("../Member/Messages.aspx");
 }
コード例 #2
0
 private void LoadList(InternalMessage.MailType MailBox, int[] strAList, int Index, string strMatrimonialID)
 {
     if (strAList != null)
     {
         Messages_1.Bind(strMatrimonialID, strAList[0], (Index + 1), MailBox);
         Messages_2.Bind(strMatrimonialID, strAList[1], (Index + 2), MailBox);
         Messages_3.Bind(strMatrimonialID, strAList[2], (Index + 3), MailBox);
         Messages_4.Bind(strMatrimonialID, strAList[3], (Index + 4), MailBox);
         Messages_5.Bind(strMatrimonialID, strAList[4], (Index + 5), MailBox);
         Messages_6.Bind(strMatrimonialID, strAList[5], (Index + 6), MailBox);
         Messages_7.Bind(strMatrimonialID, strAList[6], (Index + 7), MailBox);
         Messages_8.Bind(strMatrimonialID, strAList[7], (Index + 8), MailBox);
         Messages_9.Bind(strMatrimonialID, strAList[8], (Index + 9), MailBox);
         Messages_10.Bind(strMatrimonialID, strAList[9], (Index + 10), MailBox);
     }
 }