Пример #1
0
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(txtTitle.Text.Trim()))
     {
         if (SellersBLL.UpdateTradeFlag(txtTitle.Text.Trim()))
         {
             lbMsg.Text      = "同步操作重新开启!";
             lbMsg.ForeColor = Color.Blue;
         }
         else
         {
             lbMsg.Text      = "开启失败!";
             lbMsg.ForeColor = Color.Red;
         }
     }
 }