Example #1
0
        //public int Haghighiid { get; set; }
        public void BindDD()
        {
            string hh = Personelid.ToString();

            //DDStreetTypeid.DataSource = TaxiDAL.CatalogClass.GetListTypeID("12");
            //DDStreetTypeid.DataTextField = "CatalogName";
            //DDStreetTypeid.DataValueField = "CatalogValue";
            //DDStreetTypeid.DataBind();

            //DDTreeTypeId.DataSource = TaxiDAL.CatalogClass.GetListTypeID("16");
            //DDTreeTypeId.DataTextField = "CatalogName";
            //DDTreeTypeId.DataValueField = "CatalogValue";
            //DDTreeTypeId.DataBind();

            DDMantagheId.DataSource     = TaxiDAL.CatalogClass.GetListTypeID("2");
            DDMantagheId.DataTextField  = "CatalogName";
            DDMantagheId.DataValueField = "CatalogValue";
            DDMantagheId.DataBind();
            //     BindPeyman();
            //BindGrid();


            DDPeymanid.DataSource     = PeymanClass.GetList2(null, null, null);
            DDPeymanid.DataTextField  = "PeymanName";
            DDPeymanid.DataValueField = "PeymanID";
            DDPeymanid.DataBind();

            DDLicesnceTypeid.DataSource     = LicensingTreeClass.GetList(null, null, null, null, null, null, null, null);
            DDLicesnceTypeid.DataTextField  = "Title";
            DDLicesnceTypeid.DataValueField = "Mojavezid";
            DDLicesnceTypeid.DataBind();
        }
Example #2
0
        public void BindDD()
        {
            DDLicesnceTypeid.DataSource     = TaxiDAL.CatalogClass.GetListTypeID("21");
            DDLicesnceTypeid.DataTextField  = "CatalogName";
            DDLicesnceTypeid.DataValueField = "CatalogValue";
            DDLicesnceTypeid.DataBind();

            DDMantagheId.DataSource     = TaxiDAL.CatalogClass.GetListTypeID("2");
            DDMantagheId.DataTextField  = "CatalogName";
            DDMantagheId.DataValueField = "CatalogValue";
            DDMantagheId.DataBind();
        }