public SAPbouiCOM.DataTable GenerarArchivoDT(SAPbouiCOM.DataTable DT_HEAD, SAPbouiCOM.DataTable DT_ROWS, SAPbouiCOM.DataTable DT_TXT)
        {
            try
            {
                for (int j = 0; j <= DT_ROWS.Rows.Count - 1; j++)
                {
                    string Linea = Convert.ToString(DT_ROWS.GetValue(0, j));
                    DT_HEAD.Rows.Add();
                    DT_HEAD.SetValue(0, DT_HEAD.Rows.Count - 1, DT_ROWS.GetValue(0, j).ToString());
                    //Linea = Convert.ToString(DT_HEAD.GetValue(0, DT_HEAD.Rows.Count - 1));
                }
                DT_TXT.CopyFrom(DT_HEAD);
            }
            catch (Exception) { }

            return(DT_TXT);
        }