J
Jeff
hey
asp.net 2.0
I'm getting this error message:
DataBinding: 'CarDetail' does not contain a property with the name
'Description'.
<aspropDownList ID="ddlCarType" DataTextField='<%# Bind("'Description'")
%>'
DataValueField='<%# Bind("Id")%>' DataSourceID="dsdAvtaleType"
runat="server">
</aspropDownList>
Description is a property of CarTypeDetail.
The GridView is using an ObjectDataSource as datasource. the DropDownList is
using another ObjectDataSource as datasource..
In addition I'm wondering if the binding to the "Id" can make confusion as
both CarDetail and CarDetailType has that property
any suggestions what I do wrong here?
Jeff
asp.net 2.0
I'm getting this error message:
DataBinding: 'CarDetail' does not contain a property with the name
'Description'.
<aspropDownList ID="ddlCarType" DataTextField='<%# Bind("'Description'")
%>'
DataValueField='<%# Bind("Id")%>' DataSourceID="dsdAvtaleType"
runat="server">
</aspropDownList>
Description is a property of CarTypeDetail.
The GridView is using an ObjectDataSource as datasource. the DropDownList is
using another ObjectDataSource as datasource..
In addition I'm wondering if the binding to the "Id" can make confusion as
both CarDetail and CarDetailType has that property
any suggestions what I do wrong here?
Jeff