Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP 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 August 18th, 2005, 12:44 PM
Registered User
 
Join Date: Aug 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataBinder Eval in Repeater

Hi guys I'm very new to VB.Net and have a question about the use of a
Reapeater to load results from to 2 different tables. Heres what I mean.
DataBinder.Eval1 should display Products Name from Products table, DataBinder.
Eval2 should display ProductTypes from ProductType Table. They should load
for selection one at a time, Example:
Product: Shampoo: Productypes: Normal, Oily Hair, Dry Hair (slected with
radion buttons) -- click Next Button to select another Product with its
Product Type and so on ---- click Prev Button to look and/change previous
selection. I'm using 2 seperate queries to load Products and Product types
dynamically so not to have a limited number of Product types. This works fine
when loading all Products with respective Product types on one page but can't
get it to load one at a time.

What I got so far: Products load with DataBinder.Eval1 on Repeater1 and I'm
able to Next and Prev but the Products type do not load per gives Product
types not part of Product table error. So I added Repeater1 to handle
DataBinder.Eval2 and it loads 1 Product with ALL the product types.

Any Ideas???




Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Repeater without DataBinder safin ASP.NET 2.0 Professional 1 February 3rd, 2006 12:20 PM
Eval??? tsimsha Classic ASP Basics 2 January 17th, 2005 10:02 PM
Subject: DataBinder.Eval Error! Datagrid. macupryk General .NET 0 October 3rd, 2004 02:35 PM
Databinder.Eval jpfree71 ASP.NET 1.0 and 1.1 Basics 2 August 26th, 2004 11:07 AM
DataBinder.Eval(Container, etc. - Please explain pete_m ASP.NET 1.0 and 1.1 Basics 1 June 25th, 2004 11:52 AM





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