예제 #1
0
 private void Programas_Click(object sender, EventArgs e)
 {
     MostrarProgramas.IdProgramas = TxtIdprogramas.Text;
     MostrarProgramas.MetodoMostrarProgramas(MostrarProgramas.IdProgramas);
     MostrarProgramas.da.Fill(MostrarProgramas.ds);
     DtProgramas.DataSource = MostrarProgramas.ds.Tables[0];
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     MostrarProgramas.MostrarTodoProgramas();
     MostrarProgramas.da.Fill(MostrarProgramas.ds);
     DtProgramas.DataSource = MostrarProgramas.ds.Tables[0];
 }