Exemple #1
0
 private void btnListar_Click(object sender, EventArgs e)
 {
     servicio = new ServiceReference1.WSAsignaturaSoapClient();
     dgbAsignatura.DataSource = servicio.Listar().Tables[0];
 }
Exemple #2
0
 private void Listar()
 {
     servicio = new ServiceReference1.WSAsignaturaSoapClient();
     dgbAsignatura.DataSource = servicio.Listar().Tables[0];
 }