Beispiel #1
0
 protected string AddApply()
 {
     cn.justwin.BLL.ProgressManagement.Version byId = cn.justwin.BLL.ProgressManagement.Version.GetById(this.verId);
     byId.InputDate   = System.Convert.ToDateTime(this.txtModifyDate.Text);
     byId.InputUser   = this.hfldUserCode.Value;
     byId.Note        = this.txtModifyNote.Text.Trim();
     byId.VersionCode = this.txtModifyVersionCode.Text.Trim();
     byId.VersionName = this.txtModifyProgressName.Text.Trim();
     return(byId.AddModifyApply(byId));
 }
Beispiel #2
0
    protected void gvwPlans_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        string arg_10_0 = base.Request["modify"];

        cn.justwin.BLL.ProgressManagement.Version byId = cn.justwin.BLL.ProgressManagement.Version.GetById(base.Request["ic"]);
        if (byId != null && e.Row.RowType == DataControlRowType.DataRow)
        {
            e.Row.Attributes["id"] = this.gvwPlans.DataKeys[e.Row.RowIndex]["ProgressVersionId"].ToString();
            if (string.IsNullOrEmpty(byId.ParentVersionId))
            {
                e.Row.Cells[3].Text = string.Empty;
                e.Row.Cells[4].Text = string.Empty;
                e.Row.Cells[5].Text = string.Empty;
            }
        }
    }