示例#1
0
        private void TxtIdentificaicon_KeyPress(object sender, KeyPressEventArgs e)
        {
            RespuestaFiltrosVendedor respuesta = vendedorService.FiltroPorIdentificacion(TxtIdentificaicon.Text.Trim());

            if (respuesta.Error == false)
            {
                TblEmpleados.DataSource = respuesta.vendedores;
            }
            else
            {
                MessageBox.Show(respuesta.Mensaje, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }