ASP.NET 2.0 Question:
Download Questions PDF

What tags do you need to add within the asp: datagrid tags to bind columns manually?

Answer:

<asp:TemplateColumn>
<HeaderTemplate >
Somename
</HeaderTemplate>
<ItemTemplate>

<%# DataBinder.Eval(Container, "DataItem.columnname") %>
</ItemTemplate>

</asp:TemplateColumn>

Download ASP.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?What property do you have to set to tell the grid which page to go to when using the Pager object?