protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { int DonorID = Convert.ToInt32(Session["ID"].ToString()); RecordsDAO recordsDAO = new RecordsDAO(); DonationGrid.DataSource = recordsDAO.ShowList(DonorID); DonationGrid.DataBind(); } }