wrapping IF statement around DropDownList
Hi,
Is there a way to wrap an IF condition around a DropDownList, I don't want the dropdown to appear in all rows, only in some rows.
I tried wrapping a script around the asp DropDownList declaration, but it gives me compile errors:
<script language="c#" runat="server">
<asp:DropDownList ID="dDropList" blah blah
runat="server">
</asp:DropDownList>
</script>
Any suggestions on how i can wrap an IF statement around the <asp:DropDownList declaration?
Thanks!
|