Exemplo n.º 1
0
        private void BindCommon()
        {
            SynchronizeBLL objBll = new SynchronizeBLL();

            RailExam.Model.Synchronize obj = objBll.GetSynchronize();
            ddlInterval.SelectedValue   = obj.DetectInterval.ToString();
            ddlRetryCount.SelectedValue = obj.RetryCount.ToString();
        }
Exemplo n.º 2
0
        protected void btnSave1_Click(object sender, EventArgs e)
        {
            SynchronizeBLL objBll = new SynchronizeBLL();

            RailExam.Model.Synchronize obj = new RailExam.Model.Synchronize();
            obj.DetectInterval = Convert.ToInt32(ddlInterval.SelectedValue);
            obj.RetryCount     = Convert.ToInt32(ddlRetryCount.SelectedValue);
            objBll.UpdateSynchronize(obj);
            SetControlEnable(1, true);
        }