Wrox Programmer Forums
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
Old July 6th, 2006, 04:14 AM
Registered User
Join Date: Jul 2006
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")


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

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