Esempio n. 1
0
 private void btnBuscar_Click(object sender, EventArgs e)
 {
     try
     {
         dataGridView1.DataSource = ArticuloBL.SelectCodigoArticulo(txtBuscar.Text);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + "Error Al Consultar", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }