In ASP.NET WEB I am doing a search filtering for a table depending on the items you choose in 2 different dropdownlists. For now, I can make it work with one.
SQLTable = "SELECT * FROM Mitabla";
SQLTable += "WHERE ID='" + Dropdownlist1.SelectedItem.Value + "'";
How do I add this other property of the second Dropdownlist?:
Dropdownlist2.SelectedItem.Value
My ultimate goal is to filter the results in the table if I select both.
Help me fix it!