tryin' to render articles with pictures for each article. Im trying to use 2 nested ListView's and 2 querys in SQL Server 08 which i get in 2 methods from my 2 objectdatasources...
My ListViews look like this: http://pastebin.com/Lf1Evd1d and my code-behinde like this: http://pastebin.com/0YebPk15
Problem is I'm not really sure how to write the ItemDataBound. Im trying to get it to render with NyhetID connected with the each picture from the database. I think its wrong at the databound point. Just get an error which says that my method is non-generic and got something wrong with an ID...
If anyone got other suggestions on how to reneder out articles with picture for each article please share :)
Regards /Haris