Click here to Skip to main content
Sign Up to vote bad
good
See more: ASP.NET
i have css style information saved in my database(heading_fonts, heading_color,Heading_style,Text_style etc)
now i want to apply these css styles information on my page same as given in screen shot link;
image_link
please tell me how to do it.
thanks in advance
Posted 4-Sep-12 7:37am
Edited 4-Sep-12 7:39am


2 solutions

1. Define CSS styles for the controls at runtime
2. Retrieve the styles from database using ADO.NET and then assign them to the controls as per your need via code.
 
Thus, a runtime styles would be applied to the page requested.
 
Try, post specific question if you face any.
  Permalink  
Now you can retrieve the database value in HtmlEditor and store it pages
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 478
1 Ron Beyer 306
2 Tadit Dash 253
3 samadhan_kshirsagar 229
4 OriginalGriff 198
0 Sergey Alexandrovich Kryukov 7,041
1 Prasad_Kulkarni 3,815
2 OriginalGriff 3,557
3 _Amy 3,372
4 CPallini 3,034


Advertise | Privacy | Mobile
Web01 | 2.6.130619.1 | Last Updated 4 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid