//批量删除 protected void btn_BatchDel_Click(object sender, EventArgs e) { if (Request["ckId"] != null) { var result = _vocabulary.DelById(Request["ckId"].Split(',')); if (result) { MessageBox.AppendScript(this, "setTimeout(function(){ refreshGrid(); }, " + GlobalConfig.PageAutoRefreshDelayTime + ");"); MessageBox.Show(this, "批量删除成功!"); } else { MessageBox.Show(this, "批量删除失败!"); } } else { MessageBox.Show(this, "请选择相关数据!"); } }