Wrox Programmer Forums
|
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 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 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..





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





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