protected void getddlGedung()
        {
            SortedList sl = new SortedList();

            sl.Add("@jenisddl-INT", 1);

            DataTable dt = ddllist.GetDdl(sl);

            DdlGedungList.DataSource     = dt;
            DdlGedungList.DataValueField = "Key_value";
            DdlGedungList.DataTextField  = "Key_text";
            DdlGedungList.DataBind();
        }
示例#2
0
        protected void getddl()
        {
            SortedList sl = new SortedList();

            sl.Add("@jenisddl-INT", 2);

            DataTable dt = ddl.GetDdl(sl);

            ddlPerusahaan.DataSource     = dt;
            ddlPerusahaan.DataValueField = "Key_value";
            ddlPerusahaan.DataTextField  = "Key_text";
            ddlPerusahaan.DataBind();
            ddlPerusahaan.Enabled = true;
        }