 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
|
|
|
|
|

April 6th, 2009, 03:35 PM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 64
Thanks: 0
Thanked 1 Time in 1 Post
|
|
DataBindings, p.417
When I get to step 12. on p. 417 the dialog for "DropDownList1 DataBindings" has the "Field binding:" section grayed out. I can only access the "Custom binding:"
Is this also related to using SQL Server 2005?
Thomas
|
|

April 6th, 2009, 03:47 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Not sure what's going on there.... I don't have the book here with me so I can't check now. Will try to check it tomorrow.
For the record: the book was written and tested against SQL 2005, so you should be fine if that's what you're using...
Imar
|
|

April 6th, 2009, 03:53 PM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 64
Thanks: 0
Thanked 1 Time in 1 Post
|
|
OK, Imar, no hurry. I was able to add the "SelectedValue" attribute to the DropDownList in the Markup. I then found that it was in the "Custom binding" box of the dialog. It all works as advertised. Still interested in knowing what is going on, but I am not stuck, at least as of now!
Thomas
|
|

April 8th, 2009, 04:59 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Not sure what exactly is happening. I tried the steps with the final page, and I see the behavior you're describing.
However, if I start from scratch, the fields in the upper "Bindings for SelectedValue" are selectable.
Did you start from scratch? Or continue from an existing page? My guess is that because the form is already set up (using custom Bind syntax), you can no longer choose the other fields.
Cheers,
Imar
|
|

June 2nd, 2009, 08:12 PM
|
|
Registered User
|
|
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Databindings, page 417
Just wanted to say I've been having the same problem with setting up my databindings for the GenreID field on page 417. "Field binding" is grayed out, and I can only enter a "Custom binding".
Thanks to your earlier posts on this thread, and Imar's reply, now I know what to do about it: either enter the proper values in Source View or re-create the page from scratch. So thank you both very much. It's great to have some known remedies.
By the way, if you're reading this, Imar, please accept my total appreciation for writing such a great book! It is just right: patient, thorough, clear, well-organized, with very good explanations but no unnecessary wordiness. It has been a pleasure to learn from. Great job.
|
|

June 4th, 2009, 03:50 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi fransom,
Yes, I am reading this. Thanks for your kind feedback. Glad to hear you like the book so much.
Cheers,
Imar
|
|
 |