DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("XMLFile.xml"));
DataTable dt = ds.Tables[0];
DataRow dr = dt.NewRow();
dr["ID"] = txtID.Text.Trim().ToString();
dr["Author"] = txtAuthor.Text.Trim().ToString();
ds.Tables[0].Rows.Add(dr);
ds.WriteXml(Server.MapPath("XMLFile.xml"));
Response.Redirect("Default.aspx");