示例#1
0
        private void Bangding()
        {
            int StyleID=0;
            if(FlowID>0)
            {
                UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
                DataTable dt;
                df.GetFlow(FlowID,out dt);
                if(dt.Rows.Count >0)
                {
                    txtFlowName.Text	= dt.Rows[0]["Flow_Name"].ToString();
                    txtFlowRemark.Text	= dt.Rows[0]["Remark"].ToString();
                    StyleID				= Int32.Parse(dt.Rows[0]["Style_ID"].ToString());

                }
            }
            FillStyle(StyleID);
        }
示例#2
0
        private void Bangding()
        {
            int StyleID = 0;

            if (FlowID > 0)
            {
                UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
                DataTable dt;
                df.GetFlow(FlowID, out dt);
                if (dt.Rows.Count > 0)
                {
                    txtFlowName.Text   = dt.Rows[0]["Flow_Name"].ToString();
                    txtFlowRemark.Text = dt.Rows[0]["Remark"].ToString();
                    StyleID            = Int32.Parse(dt.Rows[0]["Style_ID"].ToString());
                }
            }
            FillStyle(StyleID);
        }