Пример #1
0
        /// <summary>
        ///
        /// </summary>
        private void UpdateLog()
        {
            if (string.IsNullOrEmpty(hdfKeyRecordLog.Text))
            {
                return;
            }
            var schedulerLog = SchedulerLogServices.GetById(Convert.ToInt32(hdfKeyRecordLog.Text));

            try
            {
                schedulerLog.Description = txtDesciptionLog.Text.Trim();
                BaseServices <SchedulerLog> .Update(schedulerLog);
            }
            catch (Exception e)
            {
                Dialog.Alert("Có lỗi xảy ra trong quá trình sửa: {0}".FormatWith(e.Message));
            }
        }