Exemple #1
0
        public void makeTable(string filepath)
        {
            Data                  data = new Data();
            List <string>         head = data.readCSVHead(filepath);
            List <List <string> > body = data.readCSVBody(filepath);

            string tableHead = populateTableBodyRow(head, true);
            string tableBody = populateTableBodyRows(body);

            data.writeHTML(makeHTML(joinHeadAndBodyOfTable(tableHead, tableBody)));
        }
        public void WriteHtml(string filepath, string content)
        {
            Data data = new Data();

            data.writeHTML(filepath, content);
        }