protected void Page_Load(object sender, EventArgs e) { Image2.ImageUrl = "~/images/tortuga.jpg"; ClassNoticias logica = new ClassNoticias(); this.Repeater1.DataSource = logica.lista_noticias(); Repeater1.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { ClassNoticias logica = new ClassNoticias(); GridView1.DataSource = logica.lista_noticas2(); }