CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.personal_site_starter_kit Tags:
Item Type: Date Entered: 5/2/2007 9:22:59 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 62 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"justlearningas
NewsGroup User
PS Kit one to one relationships5/2/2007 9:22:59 PM

0

Hi Everyone,

 This is my first time creating a website.

 I would like to create one to one relationships in the PS Kit by editing the original Database of Albums and Photos.

Is this Possible?

If it is. Can you direct me to a tutorial or guide me through the process of creating one to one relationships.

What I want is that each time a user logs on and creates a username and password. A new table/tables is created that consists of user balance, user add funds, user withdraw funds, user transaction history. These table should contain information for one user only.

This information will be entered manually into db  by an admin user that has the only access to insert, edit and delete in the database. 

 

I used the website admin tool to create 2 users but I am learning about sql express as we speak from the video tutorials of this site.

But I have not come across how to create a one to one relationship and not one to many.

 

Please help me? 

 





 

 

 

"Mikesdotnettin
NewsGroup User
Re: PS Kit one to one relationships5/3/2007 7:28:47 AM

0

If you really want to create a one-to-one relationship, add a new table and use the User ID as a primary key. 

But your design is faulty.  And you are not creating a one-to-one relationship either.  Each table you propose to create will have many transactions belonging to one user.  That's a one-to-many relationship.  Finally, you shouldn't create a separate transaction table for each user, you should put all transactions for all users in one table, and link to the userID in the users table.

Any time you are thinking of creaing a one-to-one relationship, alarm bells should ring.  99% of the time, it suggests your thinking or design is wrong. 


Regards Mike

8 out of 10 questions have already been asked. Their answers can be found using Google. Go on, try it.

If you prefer code samples or tutorials in another language, translate it for free at www.codechanger.com
"justlearningas
NewsGroup User
Re: PS Kit one to one relationships5/7/2007 4:43:21 PM

0

 Thanks I will do one to many relationships instead.

 

 

 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













compiling personal web site starter kit

publishing problems

glitch when trying to remove caption from photo

custom theme's

q. on extending the admin. abilities: where is "webadmin.axd"?

not found guest user

problem opening the starter website

customizing the album creation to work from fotovision smart app

personal web login problems

extended version...where are the graphics?

how can the starter kit run on a web hosting site that only has sql server 2000?

getting up and running on aspnix.com

the recovery pass control sends wrong pass to the user

how to install this kit

database error / database is ... read-only (part two).

loginview - login button code

using starter kit for web database

modify sidebar

unknown header stream byte sequence

problem with the gallery

test out my interactive pws (talk with my cats)

could not find stored procedure 'dbo.aspnet_checkschemaversion'.

remotely manage user accounts

a newbie needs some guide please

extending the personal starter kit

picasa

404 error in personal site

where is the complete database

the page cannot be found - 404

personal site starter kit in c#

change default page size on photos.aspx for jeremy wadsworth starter kit

can i use pws in my commerce products?

session and gridview

database problem in using one of the starter kits

personal website starter kit not creating database.

can't edit database from personal site

server error in '/website1' application

personal web site & objectdatasource error

just started playing with personal starter kit

personal web site works ok locally, but uploaded to my web host provider fails

how to pace the satrter kits

login possible with firefox - not with internet explorer

file download site

cannot login anymore? what happened...

e-mail settings

activating users on godaddy

submenus?

admin account

setup on existing sql server 2005

database connection question

   
  Privacy | Contact Us
All Times Are GMT