protected void Page_Load(object sender, EventArgs e) { var connectionString = ConfigurationManager.ConnectionStrings["connection"].ConnectionString; _studentService = new Student(connectionString); gvAllStudent.DataSource = _studentService.ShowAll(Convert.ToInt32(Request.Params["streamId"])); gvAllStudent.DataBind(); }