Link to home
Start Free TrialLog in
Avatar of iftekhar sayyed
iftekhar sayyedFlag for United States of America

asked on

Store and Retrieve formatted text from Sql DB using Angular 8 application

I have a T&C text which is formatted in the following manner, I need to store this information in SQL db
and while retrieving it should look exactly the same on the UI including the alignment.

Note: Currently i am able to save and retrieve this text from Sql DB but it is not maintaing the formatting while saving and retrieving in my Angular application

(1) Advertiser has and will maintain all consents that are required to allow us, including without limitation to send to us the Advertiser Data that we collects, uses, and stores pursuant to the provision of those Services;
(2) each Advertiser Website properly has provided and shall provide and maintain any and all required disclosures, including privacy disclosures and policies that disclose
      (i) data collection and usage associated with third-party advertising,
      (ii) identify the nature and scope of the collection and use of data and information collected by Advertiser and third parties, and
      (iii) information about, and when necessary consent to, the storing and accessing of cookies or other information on the end user’s device and in each case that are easily accessible to end users;
(3) that Advertiser complies with all Applicable Laws and meets or exceeds industry privacy guidelines, including but not limited to
      (i) the U.S. Federal Trade Commission rules and guidelines regarding the collection, use and disclosure of data from or about end users, and
      (ii) the Self-Regulatory Principles of DAA, currently available at as each set of principles may be amended from time to time by the DAA or its successor entity
Avatar of Marcus Keustermans
Marcus Keustermans
Flag of South Africa image

Well, you state that you are able to save and retrieve information from the database. Which means that you do not have a SQL challenge.

Your challenge is front end related, therefore you should not have tagged this as a sql server question.
Avatar of iftekhar sayyed

ASKER

Hi Mark,
My question was lying unattended for many days without anybody even looking at the query, I dont agree with your advice.
This question is related to data  , how it should be stored in DB and how it should be rendered on UI. So it is correctly tagged.
Rather you should have come up with some solution instead of just advising to move the tag.

Sorry but i am getting frustrated i am not getting any solution to my queries.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.