Last post Jan 16, 2009 03:32 PM by komakula
Jan 15, 2009 11:22 AM|Rghanbar87|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 05:51 PM|dilvid|LINK
This will pass a 1 for if it is checked and a 0 for it it is not.
Jan 16, 2009 03:32 PM|komakula|LINK
you should pass checkboxlist.selecteditem.value