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