@{ var title = ""; var genre = ""; var year = ""; if(IsPost){ title = Request.Form["title"]; genre = Request.Form["genre"]; year = Request.Form["year"]; } }