Basically you remove your <Asp:BoundColumn> columns and replace them with
<Asp:TemplateColumn> columns. A template column defines explicity what is
shown when in Item mode (not in edit mode) and when in Edit mode.
Normally every TemplateColumn has at the minimum an ItemTemplate and an
EditItemTemplate. If you ommit the EditItemTemplate you can make a column
read-only when in edit mode.
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.