Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 February 10th, 2009, 05:19 PM
Registered User
 
Join Date: Jan 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Databases

Ok, I'm here again. I'd need STEP BY STEP guide how to bind three tables with foreign keys (that includes creating FK's, also). SQL server management studio crashes on opening file, so i need to do it in Visual Web Developer 2008. Oh, I also need to delete any keys except the primary ones from the tables, 'cause I took many tries to do that and I've maybee left something there. The three tables look like these:

Articles:

id
name
text
perex
dateAdded
categoryId

Categories:

name
id

Comments:

id
title
text
dateAdded
articleId
addedBy


I need to bind id from Categories, categoryId from Articles and articleId from Comments, so if i delete a category, it also deletes any articles in the category nd any comments that belong to them. Thanks.

Last edited by NOclipus; February 10th, 2009 at 05:22 PM..
 


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
joining two databases Spider ASP.NET 3.5 Basics 10 February 16th, 2009 03:58 PM
2 databases tready Access VBA 3 November 4th, 2005 04:39 PM
databases zmark Access VBA 4 September 14th, 2004 12:51 AM
How many databases can I use? FlashMan Classic ASP Databases 5 July 5th, 2004 03:26 PM
Beginnin c# Databases BrentZ C# 1 December 17th, 2003 02:59 PM



All times are GMT -4. The time now is 09:32 PM.


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