Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 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 January 20th, 2011, 10:18 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Almost; you still need to remove the dependency on the HttpContext:

Code:
SqlParameter RequestID = new SqlParameter("@requestID", SqlDbType.Int);
RequestID.Value = requestID;  // This is the requestID parameter of GetList.
Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
bbcompent1 (January 20th, 2011)
 
Old January 20th, 2011, 11:54 AM
Registered User
 
Join Date: Jan 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Working like a champ now, thank you for all your help!!!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6, Ajax File Manager, error in upload.php file kenj BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 4 June 4th, 2010 08:46 PM
File Manager Namespace error rob BOOK: ASP.NET Website Programming Problem-Design-Solution 0 January 29th, 2004 07:35 AM
File manager guoqi BOOK: ASP.NET Website Programming Problem-Design-Solution 1 October 13th, 2003 10:22 AM
Securing File Manager pkemman BOOK: ASP.NET Website Programming Problem-Design-Solution 4 August 31st, 2003 04:56 AM





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