What is best option to store multiple items from related entity before saving form
<p>I have ASP.NET page with form 'Add Student' which is data-bound to Students table. User can select many languages (from drop-down bound to Languages table) that this user speak and add them to list/grid. After saving whole form, all values are saved to tables Students and related StudentLanguages. My problem is that before saving form, there can be multiple postbacks (adding language, validation, etc) and I need to store so far selected languages somewhere. I cannot store them in the table StudentLanguages because a Student record does not exist yet. What is the best option? Using page property LanguagesList and adding it to Session object every postback?</p>
