protected void repFileReName_ItemCommand(object sender, RepeaterCommandEventArgs e)
 {
     if (e.CommandName == "Del")
     {
         string Id = e.CommandArgument.ToString();
         B_GuestBook.DelTips(DataConverter.CLng(Id));
         dBind();
     }
 }
 //删除等操作
 protected void Lnk_Click(object sender, GridViewCommandEventArgs e)
 {
     if (this.Page.IsValid)
     {
         if (e.CommandName == "Del")
         {
             string Id = e.CommandArgument.ToString();
             B_GuestBook.DelTips(DataConverter.CLng(Id));
             DataBind();
         }
     }
 }
 protected void btndelete_Click(object sender, EventArgs e)
 {
     string[] chkArr = GetChecked();
     if (chkArr != null)
     {
         for (int i = 0; i < chkArr.Length; i++)
         {
             int itemID = Convert.ToInt32(chkArr[i]);
             B_GuestBook.DelTips(itemID);
         }
     }
     DataBind();
 }
 protected void btndelete_Click(object sender, EventArgs e)
 {
     string[] chkArr = GetChecked();
     if (chkArr != null)
     {
         for (int i = 0; i < chkArr.Length; i++)
         {
             int itemID = Convert.ToInt32(chkArr[i]);
             B_GuestBook.DelTips(itemID);
         }
     }
     DataBind();
     Page.ClientScript.RegisterStartupScript(this.GetType(), "wt", "location=location;", true);
 }
 protected void Lnk_Click(object sender, GridViewCommandEventArgs e)
 {
     if (this.Page.IsValid)
     {
         if (e.CommandName == "Del")
         {
             string Id = e.CommandArgument.ToString();
             B_GuestBook.DelTips(DataConverter.CLng(Id));
             DataBind();
         }
         if (e.CommandName == "QList")
         {
             Response.Redirect("GuestBookShow.aspx?GID=" + e.CommandArgument.ToString());
         }
         if (e.CommandName == "Reply")
         {
             Response.Redirect("ReplyGuest.aspx?GID=" + e.CommandArgument.ToString());
         }
         if (e.CommandName == "RList")
         {
             Response.Redirect("ReplyList.aspx?GID=" + e.CommandArgument.ToString());
         }
     }
 }