Click here to Skip to main content
11,703,631 members (67,375 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET Oracle
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
0 Maciej Los 570
1 OriginalGriff 500
2 Sergey Alexandrovich Kryukov 410
3 F-ES Sitecore 165
4 Andy Lanng 159
0 OriginalGriff 8,519
1 Sergey Alexandrovich Kryukov 7,667
2 CPallini 4,987
3 Maciej Los 4,686
4 Mika Wendelius 3,566

Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 4 Jul 2013
Copyright © CodeProject, 1999-2015
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