Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 March 28th, 2006, 01:17 AM
Authorized User
 
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to relate tables in ASP .NET

In ASP.net how do I relate tables. I am using Connection, Command and DataReader classes, is it possible to relate tables. OR if I use DataSet Class, is it possible to relate tables.

Basically, I want to get the result on a data grid for the Select Statment like
"SELECT T1.NAME, T2.DEPARTMENT FROM EMPLOYEES T1, DEPARTMENTS T2 WHERE T2.DEPARTMENTID = T1.DEPARTMENTID"

How do I do this ?
:(

 
Old April 2nd, 2006, 04:36 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This forum is for the book "ASP.NET Website Programming Prob-Design-Solution". Please use a forum that applies to beginning ASP.NET, or something like that.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Relate Tables in ASP .NET busybee ASP.NET 1.0 and 1.1 Basics 4 March 29th, 2006 01:25 AM
Using two tables in ASP tanishast1 Access ASP 1 October 16th, 2005 02:08 PM
how query 2 tables in asp method Classic ASP Databases 5 March 19th, 2005 12:24 PM
how to query 2 tables in asp.net method ASP.NET 1.0 and 1.1 Basics 3 March 18th, 2005 04:35 PM
How to relate a double indexed table? izz SQL Server 2000 1 August 18th, 2003 06:21 AM





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