ADO.NET 2.0 Question: Download ADO.NET 2.0 PDF
How to add a check box or a dropdown list to a column in a datagrid?
Answer:
By using template column, as
<asp:TemplateColumn>
<asp:ItemTemplate>
<asp:CheckBox></asp:CheckBox>
<asp:DropDownList></asp:DropDownList>
</asp:ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<asp:ItemTemplate>
<asp:CheckBox></asp:CheckBox>
<asp:DropDownList></asp:DropDownList>
</asp:ItemTemplate>
</asp:TemplateColumn>
Previous Question | Next Question |
What is difference in Record set and Dataset? | Explain Advantages of ADO.Net? |