Label1.Text = "Some normal text some red text";
my output is
now i need to save the text with style in database and display same as last example
please reply
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 26, 2013, 11:51 PM EDT
You are looking for solution in ASP.NET or Windows Application?
Regards,
Iftikar
deva nathan20 reputationPosted Jul 27, 2013, 12:04 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 27, 2013, 12:10 AM EDT
Note: It will be not possible directly to save the style
Regards,
Iftikar
deva nathan20 reputationPosted Jul 27, 2013, 12:18 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 27, 2013, 12:21 AM EDT
Regards,
Iftikar
deva nathan20 reputationPosted Jul 27, 2013, 1:14 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 27, 2013, 1:18 AM EDT
Regards,
Iftikar
Posted Jul 27, 2013, 1:32 AM EDT
Don't store the css style inside the database it is not recommended ? If you want play around user based styles,try to use themes kind of stuff.
Because, if you want to get the style from database, you need to talk whenever the page loads (you may use cache), but still it is not recommended.
Don't use inline CSS / styles, you can not reuse across the pages.
Use external CSS files, you can use it for across the pages and the browser also caches the external CSS automatically.