CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> ASP

 Dynamically add class or ID to body or other object?

Print topic Send  topic

Author Message

Posts: 225
Posted: 04/30/2018, 7:35 PM Quote message

I want to be able to add a class or ID to the body tag based on a variable I'll grab from the record in the user's database row when they log in. How can I do this?

Bonus question: Is there a CC function that can be used to do this -without- having to use the GUI? ( I am a registered CC user, but I'm working on a site that is using a newer version of SQL Server and I can't seem to get CC to fire up and connect to their site and the CC project without CC crashing. I'm hoping to be able to simply add a line or two of code without having to go through the GUI.)

Thanks in advance,
---On a campaign for more examples and better docs!
View profile  Send private message

Add new topic Reply to topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.