473,386 Members | 1,795 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,386 software developers and data experts.

Color of a single row of a data grid

Hi
I want to change the color of the single row of a data grid.
Can some body tell me how it can be done

Regards
Saurabh Sharma
Nov 16 '05 #1
2 1177
check out the DataGrid.Items property, it will return a collection of
DataGridItem objects. Each DataGridItem object has a BackColor property

HTH

Ollie Riches
"Saurabh Sharma" <sa***********@yahoo.com> wrote in message
news:OZ*************@TK2MSFTNGP09.phx.gbl...
Hi
I want to change the color of the single row of a data grid.
Can some body tell me how it can be done

Regards
Saurabh Sharma

Nov 16 '05 #2
Hi
Items property is useful when we add each entry as a seperate item. But in
my case I am adding it as a row with some colums.
So i want to know if it possible to change the properties of a row.

Saurabh

"Ollie Riches" <ol**********@hotmail.com> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
check out the DataGrid.Items property, it will return a collection of
DataGridItem objects. Each DataGridItem object has a BackColor property

HTH

Ollie Riches
"Saurabh Sharma" <sa***********@yahoo.com> wrote in message
news:OZ*************@TK2MSFTNGP09.phx.gbl...
Hi
I want to change the color of the single row of a data grid.
Can some body tell me how it can be done

Regards
Saurabh Sharma


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John | last post by:
Hi! Guys I think some of you can help me here. Here is the situation...... I have a following columns from different tables and get a Dataset to Bind with a data grid. 1)ItemId int...
1
by: rocksoft | last post by:
Hi, I have working in Asp.net and C# application, i have used visual studio 2003 for my project, my project i need this logic, how to store data in data grid to database by single mouse click,...
7
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is...
4
ammoos
by: ammoos | last post by:
Hi Friends, I need to read data from an excel sheet. I am keeping this excel sheet in a remote machine. I am using OLEDB connection to read the data from this excel sheet. But when I am trying to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.