Posted on: 5/23/2015 5:08:40 PM | Views : 877

(If this should go into the html thread, mod please move)

This is my html to create a grid, I want to use 2 of my columns (that I have converted to bit in my query) as checkboxes (checked or unchecked.  But it gives me an error of 
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.  Parser Error Message: System.Web.UI.WebControls.DataGridColumnCollection must have items of type 'System.Web.UI.WebControls.DataGridColumn'. 'asp:TemplateField' is of type 'System.Web.UI.WebControls.TemplateField'.

Line 38:                     <asp:TemplateField>



<asp:DataGrid runat="server" ID="dtgA ...

Go to the complete details ...