How to have multiple parameter in the query of datasource

I have an input box 'CP' and an autocomplete 'TOWN'
I have an ActionResult foundTownWithCP(string CP, string Town)

How I can set the datasource of the autocomplete 'TOWN' with the value of the inputbox 'CP' and the value of my autocomplete 'TOWN' ?

thanks,

Loader.
Up arrow icon