Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7852077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:19:58+00:00 2026-06-02T19:19:58+00:00

tryin’ to render articles with pictures for each article. Im trying to use 2

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:20:01+00:00Added an answer on June 2, 2026 at 7:20 pm

    I’m confused by your question, but the ItemDataBound event shouldn’t work any differently for a nested control.

    <asp:ListView ID="innerList" runat="server" OnItemDataBound="innerList_ItemDataBound" ...>
    

    And in the code-behind:

    protected void innerList_ItemDataBound(object sender, ListViewItemEventArgs e)
    {
    
    }    
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to use this method (gist of which is use self.method_name in the FunnyHelper
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
Hello im tryin to use Twitter with OAuth but i receive this exception Authorization
I am tryin gto understand branches in git.I have worked with SVN so trying
I'm tryin to use boost threads on mingw (TDM-mingw, 32bit based on gcc4.6) from
I am trying to render a haml file in a javascript response like so:
Morning. (Attempting to do): Im tryin to execute several tasks in parallel. Each task
im tryin to use this simple function: http://code.google.com/p/canvasimagegradient/ i have to create a linear
I am tryin to make a software in which when clicked on the subnode

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.