Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 April 10th, 2004, 08:50 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default N Tier Applications

Hi,

I am currently reading the book ASP.NET web programming problem, design solution. I am wanting to create a database class but the book only describes methods for use with stored procedures. I want to use in line sql statements. Is this possible?? Could anyone advise.

Thanks

Adz - The World is not enough
__________________
Adz - Learning The J2EE Ways.
 
Old April 10th, 2004, 11:53 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

There is very little difference between using stored procedures versus standard text queries. usually, the only thing you need to do different (aside from the obvious of writing in the full query) is to set the command object commandtype to Text instead of StoredProcedure. Otherwise, the rest is the same. Provide a full query. It can include parameters (@someFieldValue) so you can use the parameters collection in the same way as you use parms in stored procedure calls (with the exception of output parameters).

Peter
-------------------------
Work smarter, not harder
 
Old April 10th, 2004, 06:26 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default

thanks man!

Adz - The World is not enough





Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep 3 tier schema watxu BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 22nd, 2008 09:35 AM
Difference between 3 tier and N-Tier architecture Manoj Bisht ASP.NET 2.0 Professional 2 May 9th, 2008 08:42 AM
3 Tier example fj8283888 Pro VB.NET 2002/2003 1 August 2nd, 2006 03:44 AM
For n-tier application Ned XML 4 July 27th, 2005 04:54 AM
Three-Tier Deployment shabeeriqbal VB Components 1 February 9th, 2004 11:53 AM





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