DataSet ds = new DataSet();
            string filePath = FileUpload1.PostedFile.FileName.ToString();
            try
            {
                if (filePath == " ")
                {
                    Response.Write("<script language='javascript'>alert('文件路径不能为空!')</script>");
                }
                else
                {
                    ds.ReadXml(filePath);
                    gvPersonList.DataSource = ds.Tables[0];
                    gvPersonList.DataBind();
                } 
            }
            catch(Exception)
            {
                Response.Write("<script language='javascript'>alert('导入不正确!')</script>");
            }