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 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 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 March 28th, 2006, 01:17 AM
Authorized User
 
Join Date: Mar 2006
Location: , , United Arab Emirates.
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 ?
:(

  #2 (permalink)  
Old April 2nd, 2006, 04:36 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
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.
 


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



All times are GMT -4. The time now is 06:15 PM.


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