added Leah's c# code to eventpage.aspx.cs