Nested Repeater Tutorial please

  • Thread starter Thread starter D. Shane Fowlkes
  • Start date Start date
D

D. Shane Fowlkes

Hey guys....I tried Googling and search these forums before posting but
couldn't find really what I was looking for. I'm looking for a very simple
example or tutorial on how to nest Repeaters in VB.NET. It seems everything
that I'm finding is in Csharp or is just incredibly complicated using VB by
decalring a dozen classes and such (too complex for my simple brain).

I already have my two queries written and the HTML structure written for the
page....I just need the application logic in VB.NET (inline on a aspx page)
to connect the dots.

Thanks in advance!!!
 
ok, here's a simple tutorial:

in the ItemDataBound event of the outer repeater, use FindControl to locate
the inner repeater, then call DataBind on that

aside from that, here's a sample of nested DataLists which I think should be
quite similar

http://www.asp101.com/articles/jayram/hierarchical/default.asp

on the whole though, I have to warn you that the whole "nested repeater"
experience isn't very rewarding. for one case I ended up resorting to the
old fashioned way:

<% foreach (...) { %>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top