Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 6th, 2006, 04:14 AM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nested Repeaters

I have the following code that I am using for nested repeaters. The code runs as I want it to but I am unable to access data from the nested repeater. Any Ideas on how to do this?

Dim DBConnection As SqlConnection = New SqlConnection(GlobalParameters.DBConnection())
        Dim DataAdapter As SqlDataAdapter = New SqlDataAdapter("EXEC DSP_WListFarmhouses", DBConnection)
        Dim DataSet As DataSet = New DataSet()
        DataAdapter.Fill(DataSet, "ListFarmhouses")

        Dim DataAdapter2 As SqlDataAdapter = New SqlDataAdapter("EXEC DSP_WListFarmhousePropertyByArea", DBConnection)
        DataAdapter2.Fill(DataSet, "FarmhouseByArea")
        DataSet.Relations.Add("FarmhouseByAreaRelationship ", DataSet.Tables("ListFarmhouses").Columns("Area_Id" ), DataSet.Tables("FarmhouseByArea").Columns("Propert y_Area_Id"))
        ListFarmhouses.DataSource = DataSet.Tables("ListFarmhouses")

        Page.DataBind()
        DBConnection.Close()

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nested Repeaters, need inner rptr to know which... thenoseknows ASP.NET 2.0 Professional 0 May 27th, 2007 08:31 PM
Nested Repeaters three deep? Silfverduk ASP.NET 2.0 Basics 0 June 21st, 2006 01:14 PM
Nested Repeaters to create hierarchy Lord__Chaos ASP.NET 2.0 Basics 0 May 26th, 2006 12:37 PM
dynamic menu from nested repeaters Jacko ASP.NET 1.0 and 1.1 Professional 1 March 6th, 2006 06:51 AM
master/detail pages with Repeaters ben21 Classic ASP Basics 0 September 19th, 2005 06:18 AM



All times are GMT -4. The time now is 08:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.