Example #1
0
    //显示流程人员
    protected void lknSelect(object sender, EventArgs e)
    {
        LinkButton  button = (LinkButton)sender;
        GridViewRow gvr    = (GridViewRow)button.Parent.Parent;

        this.StuffPanel.Style["display"] = "block";
        ViewState["FlowID"] = gvFlowConfigure.DataKeys[gvr.RowIndex].Value;
        FlowParticipantConfigureDetailTableAdapter taFlowParticipantConfigureDetail = new FlowParticipantConfigureDetailTableAdapter();

        taFlowParticipantConfigureDetail.FillDataByFlowID(this.InnerDS.FlowParticipantConfigureDetail, int.Parse(ViewState["FlowID"].ToString()));
        this.StuffGridView.DataBind();
        upFlowParticipantDetail.Update();
    }
 //显示流程人员
 protected void lknSelect(object sender, EventArgs e)
 {
     LinkButton button = (LinkButton)sender;
     GridViewRow gvr = (GridViewRow)button.Parent.Parent;
     this.StuffPanel.Style["display"] = "block";
     ViewState["FlowID"]=gvFlowConfigure.DataKeys[gvr.RowIndex].Value;
     FlowParticipantConfigureDetailTableAdapter taFlowParticipantConfigureDetail = new FlowParticipantConfigureDetailTableAdapter();
     taFlowParticipantConfigureDetail.FillDataByFlowID(this.InnerDS.FlowParticipantConfigureDetail, int.Parse(ViewState["FlowID"].ToString()));
     this.StuffGridView.DataBind();
     upFlowParticipantDetail.Update();
 }