G
Guest
I have a number of rows in a GridView Column which don't have values for the
DropDownList, is there a way to hide the control if it has no data?
Here's my code:
<ItemTemplate>
<aspropDownList ID="RideDatesDropDownList" runat="server"
DataSourceId="RideDatesSqlDataSource" DataTextField="RideDate"
DataValueField="RideDate"
DataTextFormatString="{0:MMM yyyy}" CssClass="waDropDownList">
</aspropDownList>
Thanks for any clues on this.
DropDownList, is there a way to hide the control if it has no data?
Here's my code:
<ItemTemplate>
<aspropDownList ID="RideDatesDropDownList" runat="server"
DataSourceId="RideDatesSqlDataSource" DataTextField="RideDate"
DataValueField="RideDate"
DataTextFormatString="{0:MMM yyyy}" CssClass="waDropDownList">
</aspropDownList>
Thanks for any clues on this.