protected void Page_Load(object sender, EventArgs e) { EntityManager<Product> mgrProduct = new EntityManager<Product>(); List<Product> product = mgrProduct.GetAll(); GridView1.DataSource = product; GridView1.DataBind(); }