How do I pull the sellers in a combobox to later filter the sale by seller? [closed]

1

I have the following table:

VENDAS
------------------------------------------------------------------------------------------------------------
VENDA_ID | VENDA_RAZAOSOCIAL | VENDA_CIDADE | VENDA_DATA | VENDA_FORPAGAMENTO | VENDA_VENDEDOR | VENDA_VALOR

And I use the following SELECT to select sales:

SELECT * FROM VENDAS WHERE VENDA_DATA>=@dataIni and VENDA_DATA<=@dataFinal and VENDA_VENDEDOR = @vendedor

I already have the INSERT, now I need to know how I can pull the vendor so that it appears in the combobox and so I can click on a button to filter

Can anyone help me?

    
asked by anonymous 15.05.2015 / 15:49

0 answers