예제 #1
0
 private void Listar()
 {
     try
     {
         DgvListado.DataSource = NPersona.ListarProveedores();
         this.Formato();
         LblTotal.Text = "Total de registros: " + Convert.ToString(DgvListado.Rows.Count);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + ex.StackTrace);
     }
 }
예제 #2
0
 private void Listar()
 {
     try
     {
         DgvListado.DataSource = NPersona.ListarProveedores();
         this.Formato();
         this.Limpiar();
         labelTotal.Text = "TOTAL DE REGISTROS :" + Convert.ToString(DgvListado.Rows.Count);
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message + e.StackTrace);
     }
 }