J
James T.
Hello!
I am developing a travel agency web site. Now I am bit stuck and need some
advice.
I created a 4 step wizard page to add new vacation package to the database.
On the 3rd step there is a form where user can add one or more Hotels.
Hotels table contains information about hotels related with this package.
It works fine if there is only one Hotel, but if there are more than one
Hotel then I must to store each Hotel before sending to database once all
steps are completed.
There are two options in my mind... I was wondering which is the best way?
Or is there any alternatives?
- Created a custom collection of DataRows and store it in the SessionState
- Create a new temporary table and store it in the SessionState
The most IMPORTANT thing is to keep it easy to manage, because user should
be also able to edit and delete Hotel before final submission, in case
something went wrong or product was created by mistake.
All comments are welcome...
Tkanks!
James
I am developing a travel agency web site. Now I am bit stuck and need some
advice.
I created a 4 step wizard page to add new vacation package to the database.
On the 3rd step there is a form where user can add one or more Hotels.
Hotels table contains information about hotels related with this package.
It works fine if there is only one Hotel, but if there are more than one
Hotel then I must to store each Hotel before sending to database once all
steps are completed.
There are two options in my mind... I was wondering which is the best way?
Or is there any alternatives?
- Created a custom collection of DataRows and store it in the SessionState
- Create a new temporary table and store it in the SessionState
The most IMPORTANT thing is to keep it easy to manage, because user should
be also able to edit and delete Hotel before final submission, in case
something went wrong or product was created by mistake.
All comments are welcome...
Tkanks!
James