protected void btnAddQuestion_Click(object sender, EventArgs e) { QuestionBl = new QuestionBL(); SetDTO(); Questionid = Convert.ToInt32(QuestionBl.AddQuestion(Questiondto)); Response.Redirect("~/ViewQuestion.aspx?questionid=" + Questionid.ToString()); }