Click here to Skip to main content
Rate this: bad
good
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>--</asp:ListItem>
            <asp:ListItem>CO50</asp:ListItem>
            <asp:ListItem>COMP</asp:ListItem>
            <asp:ListItem Value="COMP,CO50">ALL</asp:ListItem>
        </asp:DropDownList>
 
and in my selectcommand i have the following
 
and MD IN :dropdownlistasp
and R.RCV_DATE between :datefrom and  :dateto
 
<SelectParameters>
                <asp:FormParameter FormField="dropdownlist1" 
                    Name="dropdownlistasp" />
                <asp:FormParameter FormField="textbox1" Name="datefrom" />
                <asp:FormParameter FormField="textbox2" Name="dateto" />
            </SelectParameters>
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
Kallie
Posted 4-Jul-13 3:25am

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



Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 4 Jul 2013
Copyright © CodeProject, 1999-2014
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