protected void AddBook_Click(object sender, EventArgs e)
        {
            XMLAccess xmlAccess = new XMLAccess();

            Dictionary <string, string> books = new Dictionary <string, string>();

            books.Add("Title", title.Text);
            books.Add("Author", Author.Text);

            if (xmlAccess.AddNode(books))
            {
                Response.Write(title.Text + " is added to xml database.");
            }
            else
            {
                Response.Write("Can not add the new student.");
            }
        }
    protected void btnAdd_Click(object sender, EventArgs e)
    {
        XMLAccess xmlAccess = new XMLAccess();

        Dictionary <string, string> bookInfo = new Dictionary <string, string>();

        bookInfo.Add("name", txtName.Text);
        bookInfo.Add("author", txtAuthor.Text);
        bookInfo.Add("genre", txtGenre.Text);

        if (xmlAccess.AddNode(bookInfo))
        {
            Response.Write(txtName.Text + " is added to  database.");
        }
        else
        {
            Response.Write("Can not add the new book.");
        }
    }