473,320 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Switch CSS files with a Database

Hi,
I am currently working on a project which requires the users to be able to switch between css files and save those settings within a database. when they logon again the css file in the database should become active.

Does any one have any ideas?
Apr 7 '07 #1
8 1420
drhowarddrfine
7,435 Expert 4TB
This is a programming issue that doesn't involve html or css.
Apr 7 '07 #2
AricC
1,892 Expert 1GB
Hi,
I am currently working on a project which requires the users to be able to switch between css files and save those settings within a database. when they logon again the css file in the database should become active.

Does any one have any ideas?
What server language are you using to do this?
Apr 8 '07 #3
What server language are you using to do this?
I am using ASP.NET 2.0 with VB.net using an Ms SQL Server 2005 database
Apr 8 '07 #4
KevinADC
4,059 Expert 2GB
You could use cookies to save state information that can be used when the user revists the site. Probably best to use a session ID as the cookie, the sesssion file stores the users preferences, from there you get the CSS the user prefers.

Or if you require the user to login before each visit the CSS preference could be stored in a users file and you could get the CSS preference from there.

I can't help you with examples though since I am not familiar with the technologies you are using.
Apr 8 '07 #5
AricC
1,892 Expert 1GB
I am using ASP.NET 2.0 with VB.net using an Ms SQL Server 2005 database
What do your tables look like? We'll move this to the .Net forum since you are needing .Net help not HTML or CSS.
Apr 8 '07 #6
I have a table called user_tbl with the fields: username, email, password, passwordquestion, passwordanswer, usertype, css. The css field stores a string which is intended to tell the application where to get the css file from.
e.g "css/highvis.css"
Apr 17 '07 #7
drhowarddrfine
7,435 Expert 4TB
I am closing this thread because it deals with programming and not html/css.
Apr 18 '07 #8
MMcCarthy
14,534 Expert Mod 8TB
Moved to .NET Forum.

ADMIN
Apr 24 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Mike Wiseley | last post by:
I created a desktop shortcut with "C:\Program Files\Microsoft Office\MSAccess.exe" "C:\My Documents\CopyAToB.mdb" /pwd "password: The trouble is that when running this shortcut, it prompts first...
13
by: webzila | last post by:
Hello, I have to write a program for an 8051 micro-controller using micro-C to monitor Switch 1 and if the switch in pushed the message "switch 1 pushed" should be displayed in the LCD. Also the...
3
by: pgraeve | last post by:
I am a convert from VB to C# so bear with me on this "conversion" question C# switch statement seems to be the closest relative to VB's Select Case. I used VB's Select Case statement liberally. ...
18
by: Torben Laursen | last post by:
Hi Can anyone tell me what is the short-cut to switch between a .h and .cpp file, thanks Torben Laursen ---
5
by: Phuff | last post by:
Hey all, I need some direction help. I have a switch case statement that is seemingly my only option right now, but its too large and not easy to maintain the code. Here goes... I have part...
9
by: Eugene F | last post by:
The database is currently in the circular logging mode (no log archiving). I want to track the database transaction log switch history in form of (switch-timestamp, active-log-sequence-number) to...
11
by: raylopez99 | last post by:
Keep in mind this is my first compiled SQL program Stored Procedure (SP), copied from a book by Frasier Visual C++.NET in Visual Studio 2005 (Chap12). So far, so theory, except for one bug...
6
by: asadikhan | last post by:
Hello, I have a bit of a design issue around this application I am developing, and I just want to run it through some of the brains out here. So I have a table called ErrorCheck which...
9
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.