public void BindDD()
        {
            DDExplanID.Bind();
            //DDExplanID.Attributes.Add();
            ClAgreement cl = new ClAgreement();

            DDAgreementID.DataSource     = AgreementClass.GetList(cl);
            DDAgreementID.DataTextField  = "AgreeName";
            DDAgreementID.DataValueField = "AgreementID";
            DDAgreementID.DataBind();
            if (NotDefaultAgree)
            {
                DDAgreementID.Items.Insert(0, new ListItem("پیش فرض", "0"));
            }
            BindSubject();
        }
        public void BindDD()
        {
            ddSubjectFilter.DataSource     = TaxiDAL.CatalogClass.GetListTypeID("3");
            ddSubjectFilter.DataTextField  = "CatalogName";
            ddSubjectFilter.DataValueField = "CatalogValue";
            ddSubjectFilter.DataBind();

            ClAgreement cl = new ClAgreement();

            DDAgreementID.DataSource     = AgreementClass.GetList(cl);
            DDAgreementID.DataTextField  = "AgreeName";
            DDAgreementID.DataValueField = "AgreementID";
            DDAgreementID.DataBind();

            if (NotDefaultAgree)
            {
                DDAgreementID.Items.Insert(0, new ListItem("پیش فرض", "0"));
            }

            DDExplanID.Bind();

            YearMonthShow();
        }
        public void BindDD()
        {
            DateTime sd = DateTime.Now;
            DateTime ed;

            try
            {
                ClAgreement cl = new ClAgreement();
                DDAgreementID.DataSource     = AgreementClass.GetList(cl);
                DDAgreementID.DataTextField  = "AgreeName";
                DDAgreementID.DataValueField = "AgreementID";
                DDAgreementID.DataBind();

                DDSuperVisorID.DataSource     = TaxiDAL.UsersClass.GetListNazer(null, null, null, null, null, null, "600", null, null, null, null);
                DDSuperVisorID.DataTextField  = "FullNameUser";
                DDSuperVisorID.DataValueField = "UserID";
                DDSuperVisorID.DataBind();

                DDExplainID.Bind();
                CtlAgreePercentProtest1.BindDD();

                Bindtbljarime();

                DDExplainID.AutoPostBackExplan = true;
            }
            catch (Exception ex)
            {
                ed = DateTime.Now;
                var     lineNumber = new System.Diagnostics.StackTrace(ex, true).GetFrame(0).GetFileLineNumber();
                clError cl         = new clError();
                cl.ErrorLog = ex.Message.ToString();
                cl.Page     = HttpContext.Current.Request.Url.OriginalString;
                cl.timeLeft = (ed - sd).TotalSeconds.ToString();
                cl.IP       = CSharp.PublicFunction.GetIPAddress();
                ErrorDAL.insert(cl);
            }
        }