protected void btnChange_Click(object sender, EventArgs e) { int orderID = PageTools.GetSavedId("orderID", null); AgentOrderBiz biz = new AgentOrderBiz(); if (biz.ChangeAgentTransfor(orderID, PageTools.ParseInt(seleAgent.SelectedValue))) Response.Redirect("OrderDetail.aspx"); else lbMsg.Text = "修改Agent失敗,請檢查!"; }