Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #1 (permalink)  
Old August 7th, 2009, 11:17 PM
Registered User
Join Date: Aug 2007
Location: , , .
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 !
  #2 (permalink)  
Old August 8th, 2009, 03:56 AM
Authorized User
Join Date: Mar 2009
Posts: 75
Thanks: 16
Thanked 1 Time in 1 Post

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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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

All times are GMT -4. The time now is 12:38 PM.

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