protected void Button_Click(object sender, EventArgs e) { if (txtName.Text != "卡牌") { string card_name = txtName.Text.Trim(); CardView.DataSource = CardBll.namecard(card_name); CardView.DataBind(); } }