Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 4th, 2008, 03:47 AM
Registered User
 
Join Date: Feb 2008
Location: ahmedabad, , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Urgent:Gridview Change Colour

I create one data gridview in asp.net and it will update in every 30sec. I want to show that the data that will update will change the color.
how this can I do?
Please Help Me

 
Old March 4th, 2008, 09:19 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

It depends on what you are trying to change the color of. Assuming that you want to change the color of elements in your cells, your best bet is probably going to be to add some sort of logic to the RowDataBound event to apply a different style to each element.

Information about the RowDataBound event
http://www.google.com/search?source=...w+rowdatabound

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========




Similar Threads
Thread Thread Starter Forum Replies Last Post
Row colour change with Checkbox Toiletbrush Infopath 3 July 10th, 2007 06:25 AM
how to change the colour of a cell in a jtable Tomi Java GUI 1 April 25th, 2007 03:35 AM
How do I change a row colour with a checkbox? Lucy Javascript How-To 4 November 15th, 2005 08:53 AM
change the colour of some particular rows bimal ADO.NET 1 September 10th, 2004 02:31 AM
Is there a way to change the colour of a tab ctrl? snowydust VB How-To 0 August 10th, 2004 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.