G
Guest
I have a dropdown list in an item template of a gridveiw.
I get the error "datasource cannot be set declaratively" when I try and
assign an sqldatasource to the dropdown list.
<ItemTemplate>
<aspropDownList ID="RideDates" runat="server"
DataSource="RideDatesSqlDataSource">
</aspropDownList>
</ItemTemplate>
Any ideas why this happens?
Thanks.
I get the error "datasource cannot be set declaratively" when I try and
assign an sqldatasource to the dropdown list.
<ItemTemplate>
<aspropDownList ID="RideDates" runat="server"
DataSource="RideDatesSqlDataSource">
</aspropDownList>
</ItemTemplate>
Any ideas why this happens?
Thanks.