protected void btnSchUpdate_Click(object sender, EventArgs e)
        {
            try
            {
                string SchStartTime = txtSheduleStart.Text.ToString().Trim();
                string SchEndTime = txtScheduleEnd.Text.ToString().Trim();
                string LunchStartime = txtLunchStart.Text.ToString().Trim();
                string LunchEndtime = txtLunchEnd.Text.ToString().Trim();
                bool Fivedays = false;
                 bool Sixdays = false;
                 bool Sevendays = false;
                if (rdFive.Checked)
                {
                    Fivedays = true;
                }
                else if (rdSix.Checked)
                {
                    Sixdays = true;
                }
                else if (rdSeven.Checked)
                {
                    Sevendays = true;
                }

                int UserID = Convert.ToInt32(Session["UserID"]);

                string timezone = "";
                if (Convert.ToInt32(Session["TimeZoneID"]) == 2)
                {
                    timezone = "Eastern Standard Time";
                }
                else
                {
                    timezone = "India Standard Time";

                }
                DateTime ISTTime = TimeZoneInfo.ConvertTime(DateTime.UtcNow, TimeZoneInfo.FindSystemTimeZoneById(timezone));

                String strHostName = Request.UserHostAddress.ToString();
                string strIp = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString();

                EmployeeBL obj = new EmployeeBL();
                string ID = obj.AddNewSchedule(SchStartTime, SchEndTime, LunchStartime, LunchEndtime, Fivedays, Sixdays, Sevendays, strIp, ISTTime, UserID);
                mdlSchedulepopup.Hide();
                GetSchedules();
                ddlSchedule.SelectedIndex =ddlSchedule.Items.IndexOf(ddlSchedule.Items.FindByValue(ID==""?"0":ID));
                mdlAddPopUp.Show();
                
            }
            catch (Exception ex)
            {
            }
      
        }