Hi everyone!
I'm trying to accomplish this with Linq to Sql and Asp.Net MVC:
I have a Drop Down List with options Country, City and State. And beside it, there is a textbox. So, an user will, for instance, select City and will type "new york city" in the textbox and the application will show himm the results of his choice.
So, how can I make a dynamic query based on what the user selected in the drop down? I'm not trying to make something hardcoded, because I intend to use this query with some other things.
Thanks a lot!!