protected void Button1_Click(object sender, EventArgs e)
        {
            string regin, fpi;

            if (drlistRegionCounty.Text != "")
            {
                regin = drlistRegionCounty.Text;
            }
            else
            {
                regin = txtregion.Text;
            }
            BAL.inmemorial objInmorial = new BAL.inmemorial();
            objInmorial.name = txtname.Text;
            objInmorial.email = txtemail.Text;
            objInmorial.country = DropDownList1.Text;
            objInmorial.townCity = txtcitytown.Text;
            objInmorial.regionCounty = regin;
            string kk = DAL.htmlromve.StripTagsRegexCompiled(CKEditorControl1.Text);
            objInmorial.pmess = kk;
            objInmorial.mess = CKEditorControl1.Text;
            objInmorial.dessurname = txtdecsurname.Text;
            objInmorial.desname = txtdecname.Text;
            objInmorial.desemail = txtemaildes.Text;
            objInmorial.cid = Convert.ToInt32(QueryString);
            if (FileUpload1.HasFile)
            {
                string path = Path.GetFileName(FileUpload1.FileName);
                string mm = DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() + DateTime.Now.Minute.ToString() + DateTime.Now.Second.ToString();
                fpi = mm + path;
                FileUpload1.SaveAs(Server.MapPath("~/remembrance-garden-book/images/immemimg/") + fpi);
            }
            else
            {
                fpi = img;

            }
            objInmorial.img = fpi;
            DAL.general bjGen = new DAL.general();
            bool f = bjGen.updateinmemorial(objInmorial);
            if (f)
            {
                ScriptManager.RegisterClientScriptBlock(this, GetType(), "Worng", "sucess();", true);
                
            }
            else
            {
                ScriptManager.RegisterClientScriptBlock(this, GetType(), "Worng", "worn();", true);
            }
        }