protected void Page_Load(object sender, EventArgs e) { StudentDal sd = new StudentDal(); DataTable dt = sd.View(); GridViewStudentInfo.DataSource = dt; GridViewStudentInfo.DataBind(); }