Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a webservice with multiple methods. one of those methods should send messages to our clients. Those messages should be stored in our oracle database, so the mobile app developper retreives these data and displayed in a popup in the application.
What is the best way to store this data? in other words: which type should be chosen to stor my html data?

What I have tried:

I added some data in a table called by my webservice, but on devices this data is displayed as it is: ...
Posted
Updated 4-Oct-16 2:37am
Comments
Richard MacCutchan 3-Oct-16 10:06am    
It makes no difference how you store it. The issue is more for the application that is reading it, to know what format it is.
ZurdoDev 3-Oct-16 10:48am    
Richard is mostly right, you just need to store it in a format that is large enough to hold it but html is just strings, after all.
H.AL 3-Oct-16 12:43pm    
ok I got it thank you

1 solution

As mentioned in comments, just make sure the field in the db is big enough to store the data as string. Presentation of the html data is then done by whatever app is showing the data from your db.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900