Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 26th, 2004, 08:01 AM
Registered User
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database define Controls

Hi All,

Is it possible to have ONE Aspx to create different display controls based on data ? For example: I have a table called Students.

StudentID Title1 DispControl1 Title1 DispControl2
A0001 CourseName Listbox Comments textbox
B0003 DateofBirth Calendar ************ DropDownList

When Student A0001 login (login.aspx), they will see CourseName with its Listbox and Comments with textbox in SCREEN.ASPX

When Student B0003 login (login.aspx), they can select DateofBirth from Calendat and ************ from the dropDownList in SCREEN.ASPX

Any possibility to write ONE aspx ie SCREEN.ASPX to display different StudentID data ? I hope that I do not need to hardcoded many many aspx to cater this.

Any advice is appreciated. Thanks in advance!!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Controls with Database. carumuga Classic ASP Professional 0 February 1st, 2007 12:53 AM
Multiple Databound controls for one database field melbsurfer ASP.NET 2.0 Basics 6 March 29th, 2006 06:33 PM
how to i define my own controls for the mediaplaye aravindreigns C# 2005 0 August 29th, 2005 08:27 PM
Database defined Display Controls everthalia ASP.NET 1.0 and 1.1 Professional 1 July 28th, 2004 11:11 AM
Database Controls? qwerty Classic ASP Databases 1 July 16th, 2003 12:06 PM

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