Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 June 15th, 2003, 07:46 PM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Forum class (member) explination??

OK, i'm making some big changes to the code, but can't figure out some of the values or comming from.

  For example: Where is the value for the ByVal memberUserId comming from?

<code>
Namespace WebModules.Forums.Business

  Public NotInheritable Class Member
    Inherits Wrox.WebModules.Business.BizObject

'(memberUserID) comes from what and where?

Public Function LoadFromUser(ByVal memberUserId As Integer) As Integer

      Dim members As New Data.Members(mySettings.ConnectionString)
      myMemberId = members.GetMemberId(memberUserId)

      If myMemberId = -1 Then
        ResetProperties()
      Else
        LoadFromId()
      End If

      Return myMemberId

    End Function</code>

Someone Please explain this code with some illustrations if possible.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch7 Const Member Functions of a Class proslambano BOOK: Ivor Horton's Beginning Visual C++ 2005 1 March 5th, 2007 05:01 PM
Arraylist::Sort() by class member jilly Visual C++ 2005 0 March 22nd, 2006 06:49 PM
How to Assign a Desc. to a Class Member BrianWren VB.NET 2002/2003 Basics 3 June 1st, 2005 02:07 PM
Invoking event from member variable class adxabuan Visual C++ 0 February 2nd, 2004 06:04 AM





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