Color Filling Rows in ASP Database

J

Josh Wiker

Hello everyone-

I am rather new to using ASP and curious if it is possible to color a table
that is designed in ASP.

I have an access database that has searches and can display all the
requested information perfectly. Users can create, edit, and modify records
directly via the web browser and the database is updated.

Is it possible to create a field on a page, say the page where a new record
is created, that allows the row that will display this record to have a
background color - such as yellow? All the other records will have a default
white background, but certain records may have this 'toggle' to select a
background color, but can later be disabled and revert to the white if
needed.

I checked online and must not know what keywords this would be under to
search.

Thank you in advance!
josh
 
R

Rob Meade

...
I am rather new to using ASP and curious if it is possible to color a table
that is designed in ASP.

You might wanna check out
I have an access database that has searches and can display all the
requested information perfectly. Users can create, edit, and modify records
directly via the web browser and the database is updated.

Great :eek:)
Is it possible to create a field on a page, say the page where a new record
is created, that allows the row that will display this record to have a
background color - such as yellow? All the other records will have a default
white background, but certain records may have this 'toggle' to select a
background color, but can later be disabled and revert to the white if
needed.

Got a bit lost with this bit....

Are you asking whether you can flag a record to have a different background
colour on the page based on a flag in the database? Or is there information
already in the database that you want to use in an IF...Then kinda way to
change the colours of the background as the results are pulled out?

Regards

Rob
 
M

Matt Berther

Hello Josh,

If you are using a datagrid, look at the SelectedItemStyle, EditItemStyle, etc properties.
 

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,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top