Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: filtering contacts


Message #1 by "paul hichens" <Paul.Hichens@n...> on Mon, 19 Nov 2001 11:02:28
What I am trying to do is filter out contacts on the contacts tab by 
university department rather than by moduleID which is the default on the 
ISpyBuy portal which I am using as a template.

 

I have spent ages tracing where this value ModuleID is set so that I can 
replace it with our own value departmentID instead.

 

I know the contacts control uses the GetContacts  stored procedure and 
this is called in contacts.ascx as follows:

 

Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
 
        ' Obtain contact information from Contacts table
        ' and bind to the DataGrid Control
        Dim contacts As New ASPNetPortal.ContactsDB()
 
        myDataGrid.DataSource = contacts.GetContacts(ModuleId)
        myDataGrid.DataBind()
 
    End Sub
 
However I just can?t find where ModuleID is set. I need to know this so I 
can assign a department value to it instead.
 
So any help would be very welcome. 
Many thanks
 
Paul.hichens@n...

  Return to Index