protected void Page_Load(object sender, EventArgs e) { DataAccessLayer dao = new DataAccessLayer(); SqlDataReader reader = dao.GetAllRentalProperties(); Repeater1.DataSource = reader; Repeater1.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { DataAccessLayer dao = new DataAccessLayer(); SqlDataReader reader = dao.GetAllRentalProperties(); Repeater1.DataSource = reader; Repeater1.DataBind(); }