You can use Labels inside the
EditTemplate
and
ItemTemplate
.
This is family easy to do.
<asp:TemplateField HeaderText="Column1">
<EditItemTemplate>
<asp:Label ID="1" runat="server" Text='<%# Bind("columntext") %>'> </asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("columntext") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
The above code sample should help you out.