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
  #1 (permalink)  
Old July 16th, 2006, 07:54 PM
Registered User
Join Date: Jun 2006
Location: , , United Kingdom.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Wullie
Default Quick Question for Author of Chapter 11

Hello, I was working on Chapter 11 and have a small question to ask if the author of this chapter could help.

Im working throught the "TRY IT OUT: Using Profiles in Wrox United" and have made a slight change based on what I'm learning. However, as I'm still a beginner I was wondering if I made the wrong desicion.

Basically, I thought the convoluted syntax for safely retrieving the value of each control in the DisplayProfileProperties() could be very easily simplified.

Dim NameBox As TextBox = CType(FCLoginView.FindControl("txtName"), TextBox)
If Not (NameBox Is Nothing) Then
End If

Using the code you described four pages previous to this I thought it made a more elegant solution. This was done using the User.IsInRole() method.

If User.IsInRole("FanClubMember") Then
End If

Bascially, I was hopeing you could tell me if what I have done is wrong for any reason. If not, perhaps I will give myself a pat on the back.


There are only 10 kinds of people.
Those who understand binary...and those who don't!

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
Quick Question! arcadium Java GUI 1 August 5th, 2008 03:16 AM
chapter 11 figure 11-7 relative positioning pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 November 29th, 2007 06:11 AM
another quick question andyhague XSLT 2 March 21st, 2006 12:13 PM
Quick Question Ben Horne Forum and Wrox.com Feedback 1 March 22nd, 2004 03:29 PM

All times are GMT -4. The time now is 01:28 AM.

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