Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 July 18th, 2007, 06:01 AM
Authorized User
 
Join Date: Oct 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stored Procedure in Class

Hi,

   Again another query! I am having a stored procedure with two three input parameters. Now I have passed that stored procedure to a method. My question is how to pass those three parameters from client side code.

Regards
Prasanta

 
Old July 18th, 2007, 08:32 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

This is confusing to me. I assume, since you said client side, you are dealing with ASP.NET so is your question: how do i gather the parameters from Form elements (Textbox, dropdownlist, etc) and pass those values into the stored procedure or are you asking how to gather these values within JavaScript and have the JavaScript pass those values to your method?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old July 18th, 2007, 09:57 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What do you mean by "passed that stored procedure to a method"? Are you passing the NAME of the procedure as a string? Are you passing a command object with the procedure in it? Please elaborate.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Stored Procedure kk_kumar99 Beginning VB 6 1 October 30th, 2006 12:50 PM
SQL in C# class vs. Dynamic Stored Procedure holf BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 October 26th, 2006 06:45 PM
Stored Procedure Help BukovanJ SQL Language 2 October 10th, 2006 08:02 AM
stored procedure allang MySQL 3 January 26th, 2005 12:48 PM
stored procedure kvanchi ADO.NET 1 December 9th, 2004 07:27 AM





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