Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 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 Professional 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 May 21st, 2007, 01:53 PM
Registered User
Join Date: May 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default show the details from distinct state from dropdown

Hi, anyone,

Please help!
I have a project also. In my project I’ m having one dropdownlstbox in that it displays All distinct State, In the State table, there are NY1, NY2, NJ1, NJ2, NJ3 , CA1, CA2… I just want to show the ONLY different state, So I use:
Select distinct state from State,
then dropdownlstbox only show NY, NJ, CA, do not NY1, NY2, NJ1, NJ2, NJ3 , CA1, CA2 …
Then I want to show the details from specific state if i m selecting any satae in the dropdownlistbox then the corresponding records values should be retrive from State table and relationshop tables, But can not get them, Because each state has state1, state2, For example, selecting NY, NY including NY1, NY2…,
Please help!

Old May 21st, 2007, 01:56 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Why are you cross-posting this here again? Isn't gbianchi helping you here: http://p2p.wrox.com/topic.asp?TOPIC_ID=60680

How about answering the questions asked there?


Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB6 show a Forms with details? ecabralrojas Beginning VB 6 2 June 27th, 2008 10:51 AM
Session State|View State|Do I have other options? rockon ASP.NET 1.x and 2.0 Application Design 2 October 5th, 2005 07:10 PM
Distinct SELECT DISTINCT question... EndEffect Classic ASP Databases 4 August 18th, 2005 08:53 AM
Select "Distinct "Section Details (formula) winnie1778 Crystal Reports 0 October 17th, 2003 06:08 AM

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