예제 #1
0
 //Pesquisar no DataGrid
 private void PesquisarHistoricoManutencoes()
 {
     this.dtGrdVwManutencoes.DataSource = ControllerHistoricoManutencao.PesquisarHistoricoManutencao(Convert.ToInt32(txtBxCodigo.Text));
     lblTotalRegistros.Text             = "Total de registros: " + Convert.ToString(dtGrdVwManutencoes.Rows.Count);
 }
예제 #2
0
 //Exibir no DataGrid
 private void Exibir()
 {
     this.dtGrdVwManutencoes.DataSource = ControllerHistoricoManutencao.Exibir();
     lblTotalRegistros.Text             = "Total de registros: " + Convert.ToString(dtGrdVwManutencoes.Rows.Count);
 }