Hello there

I want to retrieve data from the sql database according to departure plase and Destination selected on the dropdownList, Something like "WHERE departurePlace = @DeparturePlace AND Destination = @Destination", I want to display the results on a different page (i am not sure if its possible). Can you please help me with this i have been trying without any success.

Regards,
Sibotho

Pass values using querystring like:

Response.Rediract("MySecondPage.aspx?DeparturePlace=" & Me.MyDropDownList1.SelectedValue & "&Destination=" & Me.MyDropDownList2.SelectedValue)

:icon_wink:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.