About Grid

  • Thread starter Thread starter Sirisha
  • Start date Start date
S

Sirisha

Hi,
I want html syntax for placing a checkbox in datagrid "Template
column" ( In Header Text place)



Regards,

A.Sireesha.
 
Here you go :)
<asp:DataGrid runat="server" ID="dtgGrid">

<Columns>

<asp:TemplateColumn>

<HeaderTemplate>

<asp:CheckBox runat="server" ID="chkBox" /></HeaderTemplate>

</asp:TemplateColumn>

</Columns>

</asp:DataGrid>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top