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 32
Search took 0.01 seconds.
Search: Posts Made By: carewithl
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 December 15th, 2009, 03:53 PM
Replies: 0
Views: 993
Posted By carewithl
GetThreadByID and custom pagination vs automatic paging

Hi

1) ( page 399 ) Post.GetThreadByID method retrieves all posts of a thread via tbh_Forums_GetThreadByID stored procedure. This procedure doesn’t support pagination and in thus it returns...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 December 15th, 2009, 03:51 PM
Replies: 0
Views: 580
Posted By carewithl
EnsureValidSortExpression method

hi

The following questions all refer to the EnsureValidSortExpression method ( page 397 ):


a) I assume the reason we replace substring “title” with “tbh_posts.title” is...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 21st, 2009, 02:57 PM
Replies: 6
Views: 1,221
Posted By carewithl
I apologize for not replying sooner, but my PC...

I apologize for not replying sooner, but my PC was in repair

Anyways, thanx for helping me out

cheers
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 16th, 2009, 02:46 PM
Replies: 6
Views: 1,221
Posted By carewithl
hi It’s by Mathew MacDonald. ...

hi


It’s by Mathew MacDonald.



You mean that particular profile property for current user is retrieved from DB each time it is called, OR just once ( and then it is saved for the...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 14th, 2009, 01:25 PM
Replies: 6
Views: 1,221
Posted By carewithl
It’s from book Pro Asp.Net 3.5 iin C# 2008.: ...

It’s from book Pro Asp.Net 3.5 iin C# 2008.:
“The first time you access Profile object in your code, Asp.Net retrieves the complete profile data for current user from the DB. From this...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 14th, 2009, 01:23 PM
Replies: 2
Views: 725
Posted By carewithl
thanx mate cheers

thanx mate

cheers
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 14th, 2009, 01:22 PM
Replies: 2
Views: 1,073
Posted By carewithl
Uh, I can’t believe I’ve missed that one....

Uh, I can’t believe I’ve missed that one. Sorry for taking you time and thank you
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 13th, 2009, 02:23 PM
Replies: 6
Views: 1,221
Posted By carewithl
I don’t think we save any process time if…

hi
Page 257:
“The user's location is not retrieved directly from her profile in the preceding code because that would cause a read for each and every row. Insteaad, the user's country,...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 13th, 2009, 02:22 PM
Replies: 2
Views: 725
Posted By carewithl
Article instance no longer synchronized with the corresponding row in a DB table

hi
Page 233 – Instance method Article.Approve also sets Articles.Approved property to true:



public bool Approve()
{
bool success =...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 13th, 2009, 02:20 PM
Replies: 2
Views: 1,073
Posted By carewithl
Author claims default value can’t be set declaratively

hi

On page 247 we handle dvwCategory’s ItemCreated event, and if the control is in insert mode, we get a reference to the textbox for the Importance field and set its default value to 0. ...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 9th, 2009, 06:58 PM
Replies: 6
Views: 1,471
Posted By carewithl
alrighty, thank you for your help

alrighty, thank you for your help
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 8th, 2009, 11:07 AM
Replies: 6
Views: 1,471
Posted By carewithl
No. I've only omitted the gvwCategories.DataBind;...

No. I've only omitted the gvwCategories.DataBind; statement, but left all of author's other code as it was ( and as far as i can tell, author hasn't disabled the viewstate )
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 7th, 2009, 08:36 PM
Replies: 6
Views: 1,471
Posted By carewithl
Yes I’m sure. Here’s how I’ve figured out...

Yes I’m sure. Here’s how I’ve figured out that gvwCategories.DataBind statement (inside gvwCategories_RowDeleted event handler) isn't really necessary:

1 – first I've delete...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 7th, 2009, 08:29 PM
Replies: 4
Views: 1,105
Posted By carewithl
thanx for your help :) cheers mate

thanx for your help :)

cheers mate
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 6th, 2009, 03:59 PM
Replies: 4
Views: 1,105
Posted By carewithl
hi So there’s general consensus among...

hi

So there’s general consensus among programmers that primary keys should always have positive values?

cheers mate
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 6th, 2009, 01:29 PM
Replies: 6
Views: 1,471
Posted By carewithl
Is there a reason why author called DataBind manually?

Hi,


1)
page 246 - Inside GridView.RowDeleted event handler author manually calls gvwCategories.DataBind
page 255 – Inside Page_Load author manually calls gvwArticles.DataBind
...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 October 6th, 2009, 01:26 PM
Replies: 4
Views: 1,105
Posted By carewithl
Is there a situation where categoryID parameter could receive value smaller than zero

Hi,


public static List<Article> GetArticles(int categoryID)
{
if ( categoryID <= 0 )
return GetArticles();
...
}
...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 August 13th, 2009, 02:20 PM
Replies: 2
Views: 1,989
Posted By carewithl
Uhm, are you sure about ODS data binding...

Uhm, are you sure about ODS data binding happening before Page_Load? If we add an ObjectDataSource with a Select method that returns an array of strings, a user control (.ascx) with a repeater that...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 August 13th, 2009, 02:15 PM
Replies: 5
Views: 1,172
Posted By carewithl
thanx for helping me out cheers

thanx for helping me out

cheers
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 August 10th, 2009, 05:51 PM
Replies: 2
Views: 1,989
Posted By carewithl
Author claims ObjectDataSource is bound to data source before Page_Load and not after

Greetings

I’m learning Asp.Net in parallel with reading this book, so I apologize if I’m way off with my questions.


1) Anyways, on page 257 author says the following:

...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 August 10th, 2009, 05:36 PM
Replies: 5
Views: 1,172
Posted By carewithl
Uhm, are you sure about also needing to change...

Uhm, are you sure about also needing to change some of application code? I thought preventing procedures from retrieving Body would suffice?


thanx
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 July 21st, 2009, 04:57 PM
Replies: 5
Views: 1,172
Posted By carewithl
I don't think Article.Body really uses lazy load pattern?!Is this just a typo?

Hello,

Sorry for having two active topics, but the following is driving me nuts:

Author said Article.Body property uses lazy load pattern, where Body field is retrieved only when Body...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 July 20th, 2009, 06:07 PM
Replies: 2
Views: 1,106
Posted By carewithl
Hello, Uhm, I thought that accessing...

Hello,



Uhm, I thought that accessing DB was one of fastest operations, not slowests?!



I assume if ManageUsers Administrative Page didn't also have an option to delete a user, then there...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 July 18th, 2009, 02:40 PM
Replies: 2
Views: 1,106
Posted By carewithl
I've finally finished MEmbership and UserProfiling chapter, but I have a few question

Hello,


Heh, I’ve completed the Membership and User profiling chapter ( I’ also learning Asp.Net as I go and that’s why it takes a bit longer ) and I have few questions ( I apologize if there...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 July 16th, 2009, 09:13 AM
Replies: 4
Views: 1,049
Posted By carewithl
thanx mate. Can't tell you how I appreciate your...

thanx mate. Can't tell you how I appreciate your help

cheers
Showing results 1 to 25 of 32

 




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