Pass value of selectedindex of a listbox to a stored procedure

This is my scenario. I would like to pass the selecteindex value to my stored procedure which will create a datatable to be used as the datasource for ny gridview. What I am trying to accomplish is the correct syntax to allow me to pass this value as an sqlparameter


more ▼

asked Mar 31, 2013 at 01:10 PM in Default

avatar image

0 1 1 1

By selected index, do you mean you want to provide an index hint to the query? Otherwise, I don't understand what you're asking for.

Mar 31, 2013 at 01:54 PM Grant Fritchey ♦♦
(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Mar 31, 2013 at 01:10 PM

Seen: 772 times

Last Updated: Mar 31, 2013 at 01:54 PM

Copyright 2018 Redgate Software. Privacy Policy