----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: ravi0202 Message 2 in Discussion one thing u can do is use the microsoft data access application blocks in which case u can call the executereader or executedataset or executescalar by passing the arguments as sp_name,parameter1,......... else u need to go for SqlParameters Collection and SqlParameter class create a sql parameter object for each parameter and add that to the collection and u can directly attacth that to the command object or adapter or whatever u r going by ravi -----Original Message----- From: pavanha [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 4:26 PM To: BDOTNET Subject: Passing parameter to SQL Server stored procedure New Message on BDOTNET Passing parameter to SQL Server stored procedure Reply Reply to Sender Recommend Message 1 in Discussion From: pavanha I have an ASP page which runs a stored procedure which takes parameters and shows a report. How do I pass a series of values like (10001, 10002, 10003, 100004, 100005) or ('Tom', 'Bob', 'Mike', 'Jim', 'Jack') to the SP from the Form? View other groups in this category. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
