Changing the Background Color

G

Glenn Hanna

Hi, I would like to know how to change the background color of a web form
programatically from C#. I have found examples on the web for Visual Basic,
but I can't get them to work in C#. Any help would be appreciated.

Thank you,
Glenn
 
B

Bob Barrows [MVP]

Glenn said:
Hi, I would like to know how to change the background color of a web
form programatically from C#. I have found examples on the web for
Visual Basic, but I can't get them to work in C#. Any help would be
appreciated.
Canned reply:
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-knowledgeable person here who
can answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-knowledgeable people hang out. I
suggest microsoft.public.dotnet.framework.aspnet.

This is a CSS issue, not a VB.Net/C# issue. That means the samples you
found, which probably modify the css attributes of a page, should work
regardless of the language being used to set those properties.
Post what you've tried to the aspnet group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top