Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #21 (permalink)  
Old December 7th, 2008, 06:39 AM
Imar's Avatar
Wrox Author
Points: 71,662, Level: 100
Points: 71,662, Level: 100 Points: 71,662, Level: 100 Points: 71,662, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,015
Thanks: 79
Thanked 1,578 Times in 1,555 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.
  #22 (permalink)  
Old December 7th, 2008, 06:43 AM
Authorized User
 
Join Date: Dec 2008
Location: , , Greece.
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.

  #23 (permalink)  
Old December 7th, 2008, 06:44 AM
Imar's Avatar
Wrox Author
Points: 71,662, Level: 100
Points: 71,662, Level: 100 Points: 71,662, Level: 100 Points: 71,662, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,015
Thanks: 79
Thanked 1,578 Times in 1,555 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.
  #24 (permalink)  
Old December 7th, 2008, 06:54 AM
Authorized User
 
Join Date: Dec 2008
Location: , , Greece.
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 :(

  #25 (permalink)  
Old December 7th, 2008, 07:01 AM
Imar's Avatar
Wrox Author
Points: 71,662, Level: 100
Points: 71,662, Level: 100 Points: 71,662, Level: 100 Points: 71,662, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,015
Thanks: 79
Thanked 1,578 Times in 1,555 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.
  #26 (permalink)  
Old December 7th, 2008, 07:17 AM
Authorized User
 
Join Date: Dec 2008
Location: , , Greece.
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

  #27 (permalink)  
Old December 7th, 2008, 07:38 AM
Imar's Avatar
Wrox Author
Points: 71,662, Level: 100
Points: 71,662, Level: 100 Points: 71,662, Level: 100 Points: 71,662, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,015
Thanks: 79
Thanked 1,578 Times in 1,555 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.
  #28 (permalink)  
Old December 11th, 2008, 03:05 PM
Authorized User
 
Join Date: Dec 2008
Location: , , Greece.
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!!!!
  #29 (permalink)  
Old February 2nd, 2009, 07:47 AM
Authorized User
 
Join Date: Dec 2003
Location: , , United Kingdom.
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)
  #30 (permalink)  
Old February 2nd, 2009, 10:29 AM
jminatel's Avatar
Wrox Staff
Points: 17,869, Level: 58
Points: 17,869, Level: 58 Points: 17,869, Level: 58 Points: 17,869, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,935
Thanks: 65
Thanked 131 Times in 98 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!
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 04: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 03:55 PM
Page Hits Problem eddiema Classic ASP Professional 3 October 10th, 2003 12:46 PM



All times are GMT -4. The time now is 08:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.