Wrox Programmer Forums
|
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 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 December 11th, 2003, 12:47 PM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DBObject problem

I have two questions in DBOject:
1. in following function:
Protected Overloads Function RunProcedure( _
    Ã‚  ByVal storedProcName As String, _
    Ã‚  ByVal parameters As IDataParameter()) _
    Ã‚  As SqlDataReader
    Ã‚  Dim returnReader As SqlDataReader

is it neceassary to write:
command.CommandType = CommandType.StoredProcedure

we have done it before in BuildQueryCommand function


2. in following fuction
 Protected Overloads Sub RunProcedure( _
    Ã‚  ByVal storedProcName As String, _
    Ã‚  ByVal parameters As IDataParameter(), _
    Ã‚  ByVal dataSet As DataSet, _
    Ã‚  ByVal tableName As String)

dataSet parameter should be ByVal or ByRef? because we must change it in function

Thank you,
Masoud
 
Old January 7th, 2004, 08:09 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I will have a specialist look into this issue and I’ll post a resolution once we have found one.

XUMUSKIEFAN
Wrox Moderator





Similar Threads
Thread Thread Starter Forum Replies Last Post
DbObject class rsbst23 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 December 25th, 2004 08:41 PM
Help with DBObject base class projectedNexus BOOK: ASP.NET Website Programming Problem-Design-Solution 1 August 12th, 2003 06:36 PM
DBObject.vb Question cwildner BOOK: ASP.NET Website Programming Problem-Design-Solution 0 July 14th, 2003 12:44 PM





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