Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 48
Search took 0.01 seconds.
Search: Posts Made By: Rich57
Forum: ASP.NET 2.0 Basics August 1st, 2008, 04:43 AM
Replies: 7
Views: 3,082
Posted By Rich57
Rob - I decided not to go there and moved the...

Rob - I decided not to go there and moved the greeting outside of the loginview control.
I may re-visit this issue again when I have a little more experience/confidence.
Thanks again.

Richard...
Forum: ASP.NET 2.0 Basics July 31st, 2008, 12:47 PM
Replies: 7
Views: 3,082
Posted By Rich57
Thanks, Rob. Richard Rugeley, UK WinXP...

Thanks, Rob.

Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
Forum: ASP.NET 2.0 Basics July 31st, 2008, 05:51 AM
Replies: 7
Views: 3,082
Posted By Rich57
Thanks for your reply, Peter, and sorry for the...

Thanks for your reply, Peter, and sorry for the delay in getting back.

I changed the code to:
Dim dt As DateTime = DateTime.Now()
Dim ctlGreeting As Label = ...
Forum: ASP.NET 2.0 Basics July 24th, 2008, 09:07 AM
Replies: 7
Views: 3,082
Posted By Rich57
VB: Time-dependent greeting

I am specifying the introductory message text on my Update.aspx page according to role and I want to include an optional "good morning", "good afternoon", "good evening" greeting. I have defined a...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 July 18th, 2008, 06:46 AM
Replies: 0
Views: 1,053
Posted By Rich57
VB: Ch12 Web Service exercise p454-6

The existing code in default.aspx is different from that shown in step 7 of the book. The Register line has a tagprefix "wu" instead of "ucl", but it's consistent with the code for the control so it...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 June 12th, 2008, 05:58 AM
Replies: 0
Views: 932
Posted By Rich57
VB Ch11 Using Profiles p415 - CType

I am trying understand what the CType function does. The book introduces it on the FanClub.aspx page where user profiles are created & modified.

The sample line is quoted:

Profile.Name =...
Forum: ASP.NET 2.0 Basics May 30th, 2008, 10:33 AM
Replies: 0
Views: 1,042
Posted By Rich57
VB Adding UpdateCommand

I am adding a database write facility to my DetailsView control. Already I have a selectcommand driven from the select parameter in the parent GridView control.

In the Wrox Press book "Beginning...
Forum: ASP.NET 2.0 Basics May 30th, 2008, 05:31 AM
Replies: 2
Views: 1,609
Posted By Rich57
Thanks for your suggestion - I added the...

Thanks for your suggestion - I added the ImageField control.

There was one other lesson for me - to change the URLs I had previously stored for my online photos at Flickr. Having done that they...
Forum: ASP.NET 2.0 Basics May 29th, 2008, 11:32 AM
Replies: 2
Views: 1,609
Posted By Rich57
VB Display Photo using URL from Database

I have a DetailsView control displaying fields from my Walks database. A table in the database contains the URL of an online photo, together with dimensions and file size. The source code for the...
Forum: Forum and Wrox.com Feedback May 29th, 2008, 07:27 AM
Replies: 1
Views: 1,017
Posted By Rich57
Posting Code

I'm puzzled about how to post code in these forums. There is a code button on the Format toolbar (marked #) and I have used this to surround my ASP.NET source code, but the page width goes crazy and...
Forum: ASP.NET 2.0 Basics May 29th, 2008, 07:14 AM
Replies: 1
Views: 3,048
Posted By Rich57
I've found what I was looking for. The problem...

I've found what I was looking for. The problem wasn't in the source but in the database. I am combining fields from three tables using EventID as the key.
Unfortunately, two of the tables concerned...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 May 23rd, 2008, 09:50 AM
Replies: 2
Views: 1,180
Posted By Rich57
Yes Imar, you are right. If I open the website at...

Yes Imar, you are right. If I open the website at Chapter11\Wroxunited, it springs into life (after I undid my unnecessary changes to Default.aspx & FanClub.aspx, that is).

Thanks.

Richard...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 May 23rd, 2008, 08:58 AM
Replies: 2
Views: 1,180
Posted By Rich57
VB: Application Error in virgin Ch11

I unzipped chapter11 files today to begin the exercise on p389 (adding content to FanClub pages).Step 1 says "run the site" but it won't. I get the following error:


I get the same error if I run...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 May 23rd, 2008, 05:57 AM
Replies: 1
Views: 4,214
Posted By Rich57
I'd like to say I've spotted an error, but no...

I'd like to say I've spotted an error, but no sorry I can't see what the problem is. I compared your code with the grey code block and its explanation below on p242 of the book, and checked the...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 May 16th, 2008, 10:13 AM
Replies: 1
Views: 1,278
Posted By Rich57
VB Ch10 Exercises p383

I don't understand Q1.
To qualify, I understand everything in the first sentence, it's the 2nd sentence - what's it asking for? If I run the page without a code behind file, the contents of the...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 May 16th, 2008, 05:40 AM
Replies: 0
Views: 1,143
Posted By Rich57
VB Ch10 ObjectDataSource

I tried following the exercises on p361 & 364 to create a dataset and then bind a gridview to it. I've checked my work, but running Default.aspx only produces an unhandled exception:
"An attempt to...
Forum: ASP.NET 2.0 Basics April 25th, 2008, 11:34 AM
Replies: 1
Views: 3,048
Posted By Rich57
VB: GridView & DetailsView in Master-Child

I am using VWD 2005 Express and MS SQL Server 2005 Express.

The purpose of my page is to provide insert and edit of Walking Group activities. The GridView displays a few fields for identification...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 March 7th, 2008, 04:57 AM
Replies: 2
Views: 998
Posted By Rich57
Surprise, surprise - the database in the End...

Surprise, surprise - the database in the End folder for Chapter09 doesn't contain Nulls in the affected fields.

Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 March 7th, 2008, 04:53 AM
Replies: 2
Views: 998
Posted By Rich57
Some progress. I opened the Fixtures table in VWD...

Some progress. I opened the Fixtures table in VWD Database Explorer and found that the last record contained NULL for the goalsFor & goalsAgainst values. Using the breakpoint, I confirmed that this...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 March 6th, 2008, 02:16 PM
Replies: 2
Views: 998
Posted By Rich57
VB Ch9 Try It Out Looping ... p325

I have a problem with this exercise - an error occurs on the following line:
goalsFor += Convert.ToInt32(rdr("GoalsFor"))

By experimentation I found that if I swapped this line and the following...
Forum: Crystal Reports March 3rd, 2008, 04:29 PM
Replies: 1
Views: 1,468
Posted By Rich57
Seems like you need the logical AND of '<> "C"'...

Seems like you need the logical AND of '<> "C"' and '<> ""'.

Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 February 28th, 2008, 05:55 AM
Replies: 1
Views: 1,444
Posted By Rich57
The 3rd time through, the exercise seemed to work...

The 3rd time through, the exercise seemed to work as expected with a few adjustments noted here.
In Step 3, when selecting the connection string for the DetailsView data source, selecting...
Forum: ASP.NET 2.0 Basics February 21st, 2008, 01:11 PM
Replies: 2
Views: 808
Posted By Rich57
Thanks, Doug. As soon as I saw your post I...

Thanks, Doug. As soon as I saw your post I thought "I should have remembered that syntax" from my Access training! I tried substituting Now() in Access and in VWD and it's great.

Richard
Rugeley,...
Forum: BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 February 21st, 2008, 12:45 PM
Replies: 1
Views: 1,444
Posted By Rich57
VB Ch8 p270 Try It Out Updating Existing Records

I unzipped the Chapter08 files and opened the Fixtures.aspx page as requested. At Step 8, I ran the page and the GridView is shown as expected. I managed to edit using the GridView control, but the...
Forum: ASP.NET 2.0 Basics February 21st, 2008, 10:16 AM
Replies: 2
Views: 808
Posted By Rich57
VB WHERE clause for Recent Values

I have a database containing a number of events for my Walking Group website. I have a History page where I would like to show details of the four most recent (past) events. I have a field in the...
Showing results 1 to 25 of 48

 




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