lundi 2 mars 2015

Adding an object to a session list?


Vote count:

0




No idea why it's throwing me an error on .Add after casting it?



Session["Reservas"] = new List<HHabitacion>();
var reserva = (List<HHabitacion>)Session["Reservas"];

reserva.Add(lbDisponiblesXDatos.SelectedItem);




asked 2 mins ago







Adding an object to a session list?

Aucun commentaire:

Enregistrer un commentaire