Users Pricing

forum

Home Forums Disabling HTMLencode in ASP.NET and C# – MindStick

Disabling HTMLencode in ASP.NET and C#

Anonymous User 3138 13 Nov 2014

I am using DataTable to populate data in GridView in ASP.NET I am trying to place a line break in a cell inside the DataGrid View I used

   "data1+<br>+data2"

to place a line break.I am manipulating this data from C# which is being generated dynamically.Because of HTML encoding 
is replaced as

 lt;brgt;

So please tell me how to disable that html encoding if possible for that gridView.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md