I want to insert data in a table
flight_reservation(reserve_id, customer_id, tariff_id, total_price, date)
Where reserve_id is an auto_id. Moreover tariff_id is from table fare_tariff and customer_id from table customer. I retrieved the tariff_id, total_price from database and date value from calender selection in reservation.aspx page, then passed it to confirm.aspx page. I want to execute my query in the end of registration.aspx page. So that I want to pass this three value in registration.aspx page. Now my problem is that, I successfully could pass the tariff_id and total_price to confirm.aspx page. But I couldn't pass the date value in the same manner.. In reservation page I used:
Response.Ridirect("confirm.aspx? &tariff_id= " + tariff_id + " &total_price= " + total_price+ " &date= " +date);
I could retrieve tariff_id and total_price in confirm.aspx page, but the date value couldn't retrieved, Here date is a variable which keep the string value selected from a calender control. Can anyone help me to retrieve the date value?