Example #1
0
 private void buscar()
 {
     if (RdbT.Checked)
     {
         DgvProd.DataSource = prod.buscarprod(TxtBuscNom.Text);
     }
     else if (RdbMp.Checked)
     {
         DgvProd.DataSource = prod.buscarprodM(TxtBuscNom.Text);
     }
     else if (RdbV.Checked)
     {
         DgvProd.DataSource = prod.buscarprodP(TxtBuscNom.Text);
     }
     DgvProd.Refresh();
 }