Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design 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 28th, 2006, 05:30 AM
Authorized User
 
Join Date: Jan 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default MS data application block

I am using sqlhelper.executenonquery and
my stored procedure is returning 2 string values
How should i collect them ??

 
Old February 10th, 2006, 07:37 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I'm not familiar with this application block, but generally speaking, how can it be *returning* 2 values? Doesn't the sproc have an OUT parameter?

-Peter
 
Old February 15th, 2006, 02:34 AM
Registered User
 
Join Date: Dec 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

SQL Server Stored Procedure can have More than one Return Parameters not return values.

you need to use the command object variable to get the parameter values

for ex:

if ur Command Object is ObjCom

please refere object properties i am not sure abt syntax but this is the way to get the values
them you need to use like SomeVar = ObjCom("OutputParamName")

HTH

satish

Satish Kumar J





Similar Threads
Thread Thread Starter Forum Replies Last Post
Enterprise Library Logging Application Block Basic anup_daware .NET Framework 2.0 0 June 2nd, 2007 08:31 AM
MS Data Grid control in ms access application roshla_p Access VBA 5 October 16th, 2006 02:37 AM
Machine.config and data application block beachboy1976 ASP.NET 1.0 and 1.1 Professional 0 August 9th, 2006 03:01 PM
Block some columns from update in MS DataGrid zee_ahmed2002 Pro VB 6 1 October 13th, 2004 07:52 AM





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