Exemplo n.º 1
0
        protected void InitFlowOpinion()
        {
            int AppInstanceID = Request.QueryString["AppInstanceID"] == null ? 0 : Helper.ConverToInt32(Request.QueryString["AppInstanceID"].ToString());

            if (AppInstanceID > 0)
            {
                DataTable dt = WorkFlows.GetBizAppFlow(string.Format(" and AppInstanceID={0}", AppInstanceID));
                Repeater1.DataSource = dt;
                Repeater1.DataBind();
            }
            else
            {
                Repeater1.DataSource = null;
                Repeater1.DataBind();
            }
        }
Exemplo n.º 2
0
        protected void InitFlowOpinion()
        {
            string AppInstanceID = Request.QueryString["AppInstanceID"] == null ? string.Empty : Request.QueryString["AppInstanceID"].ToString();

            if (!string.IsNullOrEmpty(AppInstanceID))
            {
                DataTable dt = WorkFlows.GetBizAppFlow(string.Format(" and AppInstanceID='{0}'", AppInstanceID));
                Repeater1.DataSource = dt;
                Repeater1.DataBind();
            }
            else
            {
                Repeater1.DataSource = null;
                Repeater1.DataBind();
            }
        }