private void csvbutton_Click(object sender, EventArgs e) { var rez = _runner.ExecuteQuery(Query, DbName); serializer = new CsvQueryResultSerializer(); var csv = serializer.Serialize(rez); MessageBox.Show(csv); }
private void xmlButton_Click(object sender, EventArgs e) { var rez = _runner.ExecuteQuery(Query, DbName); serializer = new XmlQueryResultSerializer(); var xml = serializer.Serialize(rez); MessageBox.Show(xml); }