Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 March 18th, 2005, 06:07 AM
Friend of Wrox
 
Join Date: Mar 2005
Posts: 264
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to query 2 tables in asp.net

i wonder how i can query 2 diffrent tables with int <script > </script > in asp.net(aspx).(for example two select statments for 2 diffrent tables. I be happy if some one help me here. thanks

 
Old March 18th, 2005, 11:49 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Are you talking in server-side code or at the client-side? At server-side you just use ADO.NET code to duplicate the dataadapter setup code and fill the dataset twice. Example code: http://www.asp.net/Tutorials/quickstart.aspx.

Brian
 
Old March 18th, 2005, 12:04 PM
Friend of Wrox
 
Join Date: Mar 2005
Posts: 264
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by bmains
 Are you talking in server-side code or at the client-side? At server-side you just use ADO.NET code to duplicate the dataadapter setup code and fill the dataset twice. Example code: http://www.asp.net/Tutorials/quickstart.aspx.

Brian
i think i need a server side one but i do not know how to code it

 
Old March 18th, 2005, 04:35 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I sent you the link to ASP.NET tutorial. There are other tutorials and many books on the subject of ADO.NET, which you should understand before you proceed.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to relate tables in ASP .NET busybee BOOK: ASP.NET Website Programming Problem-Design-Solution 1 April 2nd, 2006 04:36 PM
How to Relate Tables in ASP .NET busybee ASP.NET 1.0 and 1.1 Basics 4 March 29th, 2006 01:25 AM
Looking for a SQL Query Builder for ASP.Net/Oracle rashid_masud SQL Language 0 March 9th, 2006 06:37 AM
how query 2 tables in asp method Classic ASP Databases 5 March 19th, 2005 12:24 PM
Query Tables -- Resultset Paul O. Schenker Excel VBA 1 July 16th, 2003 04:32 AM





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