Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 16, 2009 07:32 PM by komakula
Jan 15, 2009 03:22 PM|LINK
What I'm trying to do is the following:
I have three items in my checkbox list, what I want to do is for the user to select either one of them in any combination and pass these values to my sql server stored procedure which then returns data according to the values passed to it in the where clause
and binds this data to a gridview. However, at the moment in my sp I have three IN parameters, in the case of the user selecting one item from the list not enough arguments will have been passed to the procedure. I'm not sure how to go about doing this.
Can anybody help please?
Thanks in advance
Jan 15, 2009 09:51 PM|LINK
This will pass a 1 for if it is checked and a 0 for it it is not.
Jan 16, 2009 07:32 PM|LINK
you should pass checkboxlist.selecteditem.value