On Mon, Nov 1, 2010 at 6:13 AM, stapes <[email protected]> wrote:
> Using ASP.NET with C#.
> The header for this GridView column refuses to show. What am I
> missing?
>
> <asp:TemplateField HeaderText="Select" ShowHeader="true">
>                    <ItemTemplate>
>                       <asp:CheckBox ID="chkSelect" runat="server" />
>                    </ItemTemplate>
>                   </asp:TemplateField>
>
>

You need to define the text:
<asp:BoundField DataField="DocTypeName" HeaderText="Document Type" />

-- 
Stephen Russell

Sr. Production Systems Programmer
CIMSgts

901.246-0159 cell

Reply via email to