protected void saveButton_Click(object sender, EventArgs e)
        {
            Center aCenter = new Center();

            aCenter.CenterName = centerNameTextBox.Text;
            if (centerManager.IsCenterNameExists(aCenter))
            {
                megLabel.Text = "Center name already exists!";
            }
            else
            {
                int    thanaId     = int.Parse(thanaCenterDropDownList.SelectedValue);
                string newPassword = CreatePassword();
                string password    = EncryptSHA512Managed(newPassword);
                int    centerCount = centerManager.CenterCountInThana(thanaId) + 1;
                string centerCode  = CreateCenterCode(thanaCenterDropDownList.SelectedItem.ToString(), centerCount);
                Session["centerName"] = aCenter.CenterName;
                Session["centerCode"] = centerCode;
                Session["password"]   = newPassword;
                megLabel.Text         = centerManager.SaveCenter(aCenter, thanaId, centerCode, password);
                Response.Redirect("CenterPasswordAndCodeUI.aspx");
            }
        }