Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 December 7th, 2008, 07:39 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

But is it an error? Are you seeing what I am seeing?

Or do you see different behavior? I still don't know if I understand the problem, and whether you fully understand what happens or is supposed to happen...

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old December 7th, 2008, 07:43 AM
Authorized User
 
Join Date: Dec 2008
Posts: 56
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to fh84
Default

if you go to www.wroxunited.net/Gallery.aspx will undestand how the works!! the website is on.

 
Old December 7th, 2008, 07:44 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I just had another look at the Wrox United web site (had to add www in front of the link you posted) and I am seeing the same thing as I was seeing off-line:

Some categories have no records associated with them, others have a couple of items. I guess that just confirms that the behavior is OK, but that the sample database doesn't contain that many records. That is, after the site went live, people uploaded pictures / galleries to the live site that are not in the downloadable code. All makes perfect sense to me....

Just add a bunch of records to the Gallery table, connect them to different fixtures, make sure you reference existing images and you'll see the exact same thing.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old December 7th, 2008, 07:54 AM
Authorized User
 
Join Date: Dec 2008
Posts: 56
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to fh84
Default

well i have done it already by using simple text filling in all the empty gaps. same old thing :(

 
Old December 7th, 2008, 08:01 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

3 things:

1. Are you really sure you're adding data to the database that is really used by the site (what happens for example if you change the name of a Fixture)

2. To what Fixture do you connect these things?

3. What do you mean with "using simple text filling in all the empty gaps"? Are you entering data in the database directly? What table? What do you enter where?

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old December 7th, 2008, 08:17 AM
Authorized User
 
Join Date: Dec 2008
Posts: 56
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to fh84
Default

1. Are you really sure you're adding data to the database that is really used by the site (what happens for example if you change the name of a Fixture)

i did change and an error appeared :

The connection name 'WroxUnitedConnectionString1' was not found in the applications configuration or the connection string is empty.]


2. To what Fixture do you connect these things?

i connect it with the datalist control

3. What do you mean with "using simple text filling in all the empty gaps"? Are you entering data in the database directly? What table? What do you enter where?

yes.i fill in into gallery table the empty gaps with text

 
Old December 7th, 2008, 08:38 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I am afraid I can't help you further. It feels like we're wasting each other's time.

The info you're providing in response to my questions is not enough for me the help you. Please realize, I don't know the application, I don't know you, I don't know your application's setup, system, database and so on. All I know is what you tell me here which clearly isn't enough for me to say something useful.

My guess is that the code works as expected, but that you have a problem with the setup. I think you're mixing up databases, entering data in another database than the one the site uses. Only a wild guess though as again I don't have enough information to make some funded assumptions and suggestions.

My advice: clean up the app / your setup so you know what you're dealing with. Backup everything, delete it and start all over. Then start a new thread in this forum category and provide as much information as possible. Maybe somebody else is able and willing to help you based on the information you're providing.

Sorry it didn't work out.

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old December 11th, 2008, 04:05 PM
Authorized User
 
Join Date: Dec 2008
Posts: 56
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to fh84
Default Worked out!

Just simple insert more pictures into the MatchImages and then will work!!!!
 
Old February 2nd, 2009, 08:47 AM
Authorized User
 
Join Date: Dec 2003
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

I've just been notified of this thread so have taken a look at the code. Imar is right, it behaves as it should. The problem you might be experiencing is that the default database didn't have any pictures in it and there is a separate database to download. However you may not have known this since it's not on the C# download page ([FONT='Calibri','sans-serif']http://www.wrox.com/WileyCDA/WroxTit...-DOWNLOAD.html), but it is on the VB edition download page at [FONT='Calibri','sans-serif']http://www.wrox.com/WileyCDA/WroxTit...-DOWNLOAD.html. Download the additional database and copy the MDF and LDF files in the App_Data folder. [/FONT][/FONT]
[FONT='Calibri','sans-serif'][/FONT]
[FONT='Calibri','sans-serif'][FONT='Calibri','sans-serif']Only one of the fixtures has pictures loaded into it, but you will see them appear.[/FONT][/FONT]
The Following User Says Thank You to DaveSussman For This Useful Post:
jminatel (February 2nd, 2009)
 
Old February 2nd, 2009, 11:29 AM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default

I'm adding the chapter 7 start database replacement to the C# version download. Sorry for any confusion from not having done that earlier.
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Login page problem mashour BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 November 18th, 2008 05:25 PM
Problem with Chapter 2 First Page xtiano77 ASP.NET 3.5 Basics 1 May 7th, 2008 01:00 AM
page jump problem netmastan Ajax 0 April 11th, 2007 04:55 PM
Page Layout Problem Spades Dreamweaver (all versions) 1 December 2nd, 2004 04:55 PM
Page Hits Problem eddiema Classic ASP Professional 3 October 10th, 2003 12:46 PM





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