Example #1
0
 public void MyDataGrid_Delete(object sender,DataGridCommandEventArgs e)
 {
     string StepID = dgStepList.DataKeys[e.Item.ItemIndex].ToString();
     UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
     df.DeleteStep(FlowID,Int32.Parse(StepID));
     df = null;
     Bind();
 }
Example #2
0
        public void MyDataGrid_Delete(object sender, DataGridCommandEventArgs e)
        {
            string StepID = dgStepList.DataKeys[e.Item.ItemIndex].ToString();

            UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
            df.DeleteStep(FlowID, Int32.Parse(StepID));
            df = null;
            Bind();
        }
Example #3
0
        private void cmdDelete_Click(object sender, System.EventArgs e)
        {
            //删除此步
            UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
            df.DeleteStep(FlowID, StepID);
            df = null;

            if (StepID > 1)
            {
                StepID -= 1;
                Server.Transfer("EditTache.aspx?FlowID=" + FlowID.ToString() + "&StepID=" + StepID.ToString());
            }
            else
            {
                Server.Transfer("EditFlow.aspx?FlowID=" + FlowID.ToString());
            }
        }
Example #4
0
        private void cmdDelete_Click(object sender, System.EventArgs e)
        {
            //ɾ���˲�
            UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
            df.DeleteStep(FlowID,StepID);
            df = null;

            if(StepID>1)
            {
                StepID -=1;
                Server.Transfer("EditTache.aspx?FlowID=" + FlowID.ToString() + "&StepID=" + StepID.ToString());
            }
            else
            {
                Server.Transfer("EditFlow.aspx?FlowID=" + FlowID.ToString());
            }
        }