예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            XML xml = new XML();

            List<string> lista = new List<string>();

            lista = xml.getNotas(xml.buscarNotas());
        }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            XML xml = new XML();

            List<string> lista = new List<string>();

            lista = xml.getNotas(xml.buscarNotas());
            dataGridView1.DataSource = lista.ToArray();
        }
예제 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            XML xml = new XML();

            List<string> lista = new List<string>();

            lista = xml.getNotas(xml.buscarNotas());
            dataGridView1.DataSource = lista.ToArray();

            foreach (string cadena in lista)
            {
                label1.Text += cadena + Environment.NewLine();
            }
        }