Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) 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 4th, 2005, 12:59 PM
Authorized User
 
Join Date: Mar 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default checkbox and the drop down menu in update form

Hi Imar,

I have an update form(ASP.NET form) but the checkbox and the drop down menu values that are pulled out from the database does not appear correctly. The value for the check box is always uncheck and the value for the drop down menu is always the first value of the menu list.

Could you please advise how to correct this. Thanks greatly.
:D:D
 
Old May 4th, 2005, 01:31 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

How are you binding your data? Are you using the Dreamweaver controls for data access?? Personally, I would use objects like the DataReader and Connection directly, and drop the Dreamweaver controls for data access....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old May 4th, 2005, 01:43 PM
Authorized User
 
Join Date: Mar 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I used DataGrid for binding my data. Thanks
 
Old May 4th, 2005, 01:55 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You use a DataGrid for *displaying* data. However, you bind the grid to a data source (or the other way around).

So, you probably use some sort of data source, like a DataReader, a DataSet (most likely) or a custom collection.

Can you post the code to this list? I am off for the weekend so I won't be able to respond....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down menu mizlatic BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 February 11th, 2008 07:02 AM
new entry for drop-down menu and open form avigiano Access 4 September 27th, 2006 07:44 AM
Drop down menu antoneath Beginning PHP 1 January 27th, 2006 08:45 AM
drop-down menu crmpicco Javascript How-To 1 March 22nd, 2005 01:23 PM
right click menu hidden by drop-drown menu Andraw HTML Code Clinic 0 March 18th, 2005 03:28 PM





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