How to replace <p> </p> in gridview rows in asp.net c#

<asp:TemplateField HeaderText="Questions" SortExpression="TheQuestion">
<ItemTemplate>
<asp:Label ID="lblQuestion" runat="server" Text='<%# Server.HtmlDecode(Eval("TheQuestion").ToString()) %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Left" Width="100%" />
</asp:TemplateField>

Comments

Popular posts from this blog