开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜