コード例 #1
0
 private void Form2_Load(object sender, EventArgs e)
 {
     try
     {
         DataTable dt = Al.ListadoAlumnos();
         dataGridView1.DataSource = dt;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
コード例 #2
0
        private void Form2_Load(object sender, System.EventArgs e)
        {
            DataTable dt = Al.ListadoAlumnos();

            dataGridView1.DataSource = dt;
        }