Example #1
0
        private void dgvProveedor_SelectionChanged(object sender, EventArgs e)
        {
            DataGridView tmp = (DataGridView)sender;

            if (tmp.CurrentRow == null)
            {
                return;
            }
            int id = Convert.ToInt32(tmp.CurrentRow.Cells[0].Value);

            oProveedor = oProveedorService.obtenerProveedorSinParametros(id);
        }