Esempio n. 1
0
    private void StgVersionDropDownBinding(int estterm_ref_id)
    {
        ddlStgVersion.ClearSelection();
        Biz_PDTAndAHPVersions pdtAhpVersion = new Biz_PDTAndAHPVersions();
        DataSet ds = pdtAhpVersion.GetPdtAhpVersions(estterm_ref_id);

        ddlStgVersion.DataSource     = ds;
        ddlStgVersion.DataValueField = "VER_ID";
        ddlStgVersion.DataTextField  = "VER_NAME";
        ddlStgVersion.DataBind();
    }
Esempio n. 2
0
    private void StgVersionDropDownBinding()
    {
        ddlStgVersion.ClearSelection();
        Biz_PDTAndAHPVersions pdtAhpVersion = new Biz_PDTAndAHPVersions();
        DataSet ds = pdtAhpVersion.GetPdtAhpVersions(ESTTERM_REF_ID);

        ddlStgVersion.DataSource     = ds;
        ddlStgVersion.DataValueField = "VER_ID";
        ddlStgVersion.DataTextField  = "VER_NAME";
        ddlStgVersion.DataBind();

        ddlStgVersion.Items.Insert(ds.Tables[0].Rows.Count, new ListItem("<<< 새로 추가", "0"));

        if (ds.Tables[0].Rows.Count > 0)
        {
            hdfStatus.Value = "M";
        }
        else
        {
            hdfStatus.Value = "N";
        }
    }