protected void onupdatebtnclick(object sender, EventArgs e)
        {
            string imgfile = "#";

            if (imageuploader1.PostedFile != null && imageuploader1.HasFile)
            {
                imgfile = Path.GetFileName(imageuploader1.PostedFile.FileName);
                string fullpath = Path.Combine(Server.MapPath("..") + "/Images/" + imgfile);
                imageuploader1.SaveAs(fullpath);
            }
            string imagefilepath = "#";

            if (imgfile != "#")
            {
                imagefilepath = "/images/" + imgfile;
            }
            int    bookid        = Int16.Parse(TextBox1.Text.ToString());
            string genre         = TextBox7.Text.ToString();
            string bookname      = TextBox2.Text.ToString();
            string bookdesc      = TextBox8.Text.ToString();
            string Authorname    = TextBox3.Text.ToString();
            string publishername = TextBox4.Text.ToString();
            int    currentstock  = Int16.Parse(TextBox5.Text.ToString());
            int    actualstock   = Int16.Parse(TextBox6.Text.ToString());

            if (bl.Updatebookadmin(bookid, genre, bookname, bookdesc, Authorname, publishername, currentstock, actualstock, imagefilepath) == true)
            {
                Response.Redirect("success Update.aspx");
            }
            else
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "hwe", "setbookiderror('Bookid not Found');", true);
            }
        }