Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
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 February 28th, 2006, 09:43 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Newbie Q - DropDownList Binding

I have a DropDownList in a FormView - I can get the DropDown displaying all the relevant options from my SQL Server datasource, but how do I bind the selected to the datasource of the FormView, or indeed show what was previously selected?

i.e. to work like an Access combo box.

 
Old March 2nd, 2006, 12:23 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

The drop down should show what was previously selected as long as you are not refilling the datasouce and rebinding the ddl.

Quote:
quote:
but how do I bind the selected to the datasource of the FormView
Not sure what that means

Jim






Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-Binding A Dropdownlist In A DetailsView cyber0ne BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 March 26th, 2007 07:10 PM
Binding dropdownlist to gridView mcgarry101 ASP.NET 2.0 Basics 0 February 13th, 2007 07:12 AM
Binding DropDownList Dynamically knight1907 ASP.NET 2.0 Basics 5 April 4th, 2006 09:01 AM
Newbie HELLLPPPP.... Textbox and DropdownList sane79 ASP.NET 1.0 and 1.1 Basics 3 October 3rd, 2005 12:20 AM





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