P
prototype
Est takoi kod
Ne mogu vityanut ssilku na DropDownList
Pomogite pliz!!!
Код:
<asp:[b]GridView[/b] ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" DataSourceID="ObjectDataSource1" EnableViewState="False" ForeColor="#333333"
GridLines="None" PageSize="20" Width="800px" DataKeyNames="Id">
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" ShowSelectButton="True" />
<asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True" SortExpression="Id" />
<asp:TemplateField HeaderText="AboutGoods" SortExpression="AboutGoods">
<EditItemTemplate>
<asp:[b]DropDownList[/b] ID="DropDownList1" runat="server">
</asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("AboutGoods") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
Pomogite pliz!!!