Anjana Purohit

Anjana Purohit

  • NA
  • 9
  • 588

Issue while saving string data from UI into database

Mar 13 2019 2:18 PM
Hi,
 
I have an application using .NET, JQUERY and database as SQL. On UI user is copy pasting some data and is getting saved into database in following format with font details:
 
281112 Sabar raised <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:"Segoe UI"; panose-1:2 11 5 2 4 2 4 2 2 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0cm; margin-right:0cm; margin-bottom:8.0pt; margin-left:0cm; line-height:107%; font-size:11.0pt; font-family:"Calibri",sans-serif;} .MsoChpDefault {font-family:"Calibri",sans-serif;} .MsoPapDefault {margin-bottom:8.0pt; line-height:107%;} /* Page Definitions */ @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --> <br /><br />Openreach advise the A End exchange equipment is reserved for ONEA42543459 - Not Wholesale. As you have now assigned our circuit to this equipment can you advise on the ONEA / ETHA status on ONEA42543459
 
But I want this data to be stored into database as follows:
 
281112 Sabar raised
 
Openreach advise the A End exchange equipment is reserved for ONEA42543459 - Not Wholesale. As you have now assigned our circuit to this equipment can you advise on the ONEA / ETHA status on ONEA42543459
 
Please suggest.
Thanks in advance.

Answers (2)