Click here to Skip to main content
13,087,235 members (55,298 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi i wonder if anyone can help me i have a dropdownlist which has 3 options.
the 1st 2 options in single value but the 3rd option is multiple values but when i run the sql script it returns no data. below is the sample of the dropdownlist

<asp:DropDownList ID="DropDownList1" runat="server">
            <asp:ListItem Value="COMP,CO50">ALL</asp:ListItem>

and in my selectcommand i have the following

and MD IN :dropdownlistasp
and R.RCV_DATE between :datefrom and  :dateto
                <asp:FormParameter FormField="dropdownlist1" 
                    Name="dropdownlistasp" />
                <asp:FormParameter FormField="textbox1" Name="datefrom" />
                <asp:FormParameter FormField="textbox2" Name="dateto" />

the 2 options which is single values return the correct data but the 3rd option with multiple values return nothing i have tried several values in the 3rd option and am not sure if it is possible

any assistance will be appreciated
thank you
Posted 4-Jul-13 2:25am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 4 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100