Beispiel #1
0
        /// <summary>
        /// 绑定Workflow里的Item数据
        /// </summary>
        /// <param name="sWorkflowNO"></param>
        public void BindData(string sWorkflowNO)
        {
            OSPCommon comm = new OSPCommon();
            DataTable dt = new DataTable();
            dt = comm.GetData(sWorkflowNO);

            RepeaterPOData.DataSource = dt;
            RepeaterPOData.DataBind();
            SetSearchText();
        }
Beispiel #2
0
        /// <summary>
        /// 绑定Workflow里的Item数据
        /// </summary>
        public void BindData()
        {
            WorkflowDataFields fields = WorkflowContext.Current.DataFields;
            string sWorkflowNO = fields["Title"].ToString();

            OSPCommon comm = new OSPCommon();
            DataTable dt = new DataTable();
            dt = comm.GetData(sWorkflowNO);

            RepeaterPOData.DataSource = dt;
            RepeaterPOData.DataBind();
            LabelCount.Text = dt.Rows.Count.ToString();
        }