Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 August 7th, 2009, 11:17 PM
Registered User
 
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up UserId In table ?

I was wondering what could be the solution by adding userId in table Articles
We could do this if we want to show articles of a particular User for exemple

I know we have the AddedBy but its only a string of the username.

My problem is that UserId is a Guid and im very not sure how to implement this on the BizObject and on all the related Classes like ArticlesDetails and ArticlesProvider and Articles.cs and so on... also the DataReader...
Like is it a string ??? can we compare the uniqueidentifier as a string... :/


Any help ???

Thanks !
 
Old August 8th, 2009, 03:56 AM
Authorized User
 
Join Date: Mar 2009
Posts: 75
Thanks: 16
Thanked 1 Time in 1 Post
Default

First, username is unique so you can use to locate all articles of specific user.

Second, in your objects you use GUID structure as your type.
And you can can ToString() it if you like.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Return UserId from aspnet_Users rao965 ASP.NET 2.0 Professional 4 July 12th, 2007 04:50 PM
Get UserId from ASPNET.db rao965 ASP.NET 2.0 Basics 2 September 27th, 2006 04:18 AM
UserId/Computer Name mrookey Dreamweaver (all versions) 1 August 2nd, 2005 11:47 AM
UserId/Computer Name mrookey SQL Server ASP 1 August 2nd, 2005 07:23 AM
Insert News UserId -1 seanmayhew BOOK: ASP.NET Website Programming Problem-Design-Solution 1 November 14th, 2004 08:57 PM





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