Hi @moondaddy ,
You can change BoundColumn
to TemplateColumn
to display each item in the column after the specified template. This allows you to provide custom controls in the column.
Then use <asp:TextBox>
in <asp:TemplateField>
to allow multiple lines of text.
<asp:TemplateColumn HeaderText="ExceptionData" >
<ItemTemplate>
<asp:TextBox ID="ExceptionData" BorderStyle="None" runat="server" Width="400" Rows="5" TextMode="MultiLine" Text='<%# Bind("ExceptionData") %>'></asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.