private void xuatWord()
    {
        HtmlForm form     = new HtmlForm();
        string   filename = DateTime.Now.ToString("yyyy.MM.dd.hh.mm.ss") + ".doc";

        string attachment = "attachment; filename=" + filename;

        Response.ClearContent();
        Response.AddHeader("content-disposition", attachment);
        Response.ContentType = "application/ms-word";
        StringWriterWithEncoding stringWrite = new StringWriterWithEncoding(Encoding.UTF8);
        HtmlTextWriter           htw         = new HtmlTextWriter(stringWrite);

        Table1.RenderControl(htw);
        Response.Charset         = "UTF-8";
        Response.ContentEncoding = Encoding.UTF8;
        Response.Write(stringWrite.ToString());
        Response.End();
        //logDuLieu(filename, Convert.ToString(Request.QueryString["QuanLyDeThi_MaDT"]));
    }