R
RAM
Hi,
Please help in the following problem with aspropDownList.
I have written in .aspx:
<asp:SqlDataSource ID="ListOfMaterials" runat="server" ConnectionString="<%$
ConnectionStrings:MIMStockDemo %>" SelectCommand="SELECT Name FROM Materials
ORDER BY Name" />
<aspataList ID="PositionsDataList" runat="server"> ...
<EditItemTemplate>
<td><aspropDownList ID="MaterialsEdit" runat="server"
DataSourceID="ListOfMaterials" /></td> ...
(SQL Server table Materials is fillled with some data)
I don't understand why in a browser my DropDownList contains sequence of
entries "System.Data.DataRowView" instead of values from Name column.
Connection string is correct (it works fine in other places.)
/RAM/
Please help in the following problem with aspropDownList.
I have written in .aspx:
<asp:SqlDataSource ID="ListOfMaterials" runat="server" ConnectionString="<%$
ConnectionStrings:MIMStockDemo %>" SelectCommand="SELECT Name FROM Materials
ORDER BY Name" />
<aspataList ID="PositionsDataList" runat="server"> ...
<EditItemTemplate>
<td><aspropDownList ID="MaterialsEdit" runat="server"
DataSourceID="ListOfMaterials" /></td> ...
(SQL Server table Materials is fillled with some data)
I don't understand why in a browser my DropDownList contains sequence of
entries "System.Data.DataRowView" instead of values from Name column.
Connection string is correct (it works fine in other places.)
/RAM/