protected void ProjectID_SelectedIndexChanged(object sender, EventArgs e)
 {
     FlowWorkID.DataSource     = WebBLL.Tbl_FlowWorkManager.GetDataTableByPage(100, 1, "projectid=" + ProjectID.SelectedValue, "id desc");
     FlowWorkID.DataTextField  = "WorkName";
     FlowWorkID.DataValueField = "ID";
     FlowWorkID.DataBind();
     FlowWorkID.Items.Insert(0, new ListItem("选择工作流程", ""));
 }
        protected void ProjectName_SelectedIndexChanged(object sender, EventArgs e)
        {
            //流程工作ID
            FlowWorkID.DataSource     = WebBLL.Tbl_FlowWorkManager.GetDataTableByPage(20, 1, "projectid=" + ProjectName.SelectedValue, "");
            FlowWorkID.DataTextField  = "WorkName";
            FlowWorkID.DataValueField = "FlowID";
            FlowWorkID.DataBind();
            FlowWorkID.Items.Insert(0, new ListItem("选择流程", ""));

            if (FlowWorkID.Items.Count == 1)
            {
                ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('该项目尚未发起任何流程工作');", true);
            }
        }