protected void Page_Load(object sender, EventArgs e) { List <Promotion> x = PromotionController.getAll(); lblTitle.Text = x.Last().Title; lblDesc.Text = x.Last().Description; lblDiscount.Text = x.Last().Discount.ToString(); }