how to add select option to datagrid control in asp.net
<asp:DataGrid runat="Server" id="dg">开发者_如何学Go;</asp:DataGrid>
There are probably a number of ways, but the most configurable is likely going to be by adding a TemplateColumn and putting the controls you need in that column.
look this
<asp:DataGrid runat="server">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:DropDownList runat="server"></asp:DropDownList>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
精彩评论