public void write_file(String data) { Textprocessor processor = new Textprocessor(); String writepath = this.targetPath + "/" + this.fileName; Console.WriteLine("destino " + writepath); String readpath = this.sourcePath + "/" + this.templateName; String flag = "<!--[/Content]-->"; processor.write_this(writepath, readpath, data, flag); }
public void insert_data(Dictionary <String, int> hashMap) { Textprocessor processor = new Textprocessor(); String writepath = this.targetPath + "/" + this.fileName; String readpath = this.sourcePath + "/" + this.templateName; String flag = "--Data"; String sql = ""; foreach (var data in hashMap.ToArray()) { } processor.write_this(writepath, readpath, sql, flag); }