/// <summary>
        /// This method is used to update the particular beat information, who is select from dropdownlist.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Edit1_Click(object sender, System.EventArgs e)
        {
            PartiesClass obj1 = new PartiesClass();

            try
            {
                PartiesClass obj = new PartiesClass();
                obj1.City    = txtCity.Text;
                obj1.State   = txtState.Text;
                obj1.Country = txtCountry.Text;
                string   cty = DropBeatNo.SelectedItem.Value;
                string[] arr = cty.Split(new char[] { ':' }, cty.Length);
                //obj1.Beat_No =DropBeatNo.SelectedItem.Value ;
                obj1.Beat_No = arr[0];
                obj1.UpdateBeatMaster();
                MessageBox.Show("Beat Updated");
                Clear();
                DropBeatNo.Visible = false;
                lblBeatNo.Visible  = true;
                Edit1.Visible      = false;
                btnEdit.Visible    = true;
                checkPrevileges();
                CreateLogFiles.ErrorLog("Form:BeatMasterEntery.aspx ,method Edit1_Click," + "  Beat no   " + obj1.Beat_No + "City Updated to   " + obj1.City + "  user:"******"Form:BeatMasterEntery.aspx ,method Edit1_Click," + "  Beat no   " + obj1.Beat_No + "City Updated to   " + obj1.City + "  EXCEPTION  " + ex.Message + "  user:" + uid);
            }
        }