ADO.NET 2.0 Question:
Download Questions PDF

How to add a check box or a dropdown list to a column in a datagrid?

ADO.NET 2.0 Interview Question
ADO.NET 2.0 Interview Question

Answer:

By using template column, as

<asp:TemplateColumn>

<asp:ItemTemplate>

<asp:CheckBox></asp:CheckBox>

<asp:DropDownList></asp:DropDownList>

</asp:ItemTemplate>

</asp:TemplateColumn>

Download ADO.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
What is difference in Record set and Dataset?Explain Advantages of ADO.Net?