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

DataGrid Help!!!

4
Help Please!!!!!!!!

I am using VS 2003 and developing windows application.

My question is how to highlight or change the color of the whole row in a DataGrid when a criteria is met on form load?
For e.g I have 5 different columns in a datagrid and one of them is "Active". If Active is "Yes", the whole row should be highlighted.

I have been able to highlight a cell through overriding the paint method but not the row.

Thanks in advance!
Jul 16 '08 #1
2 1070
shweta123
692 Expert 512MB
Hi,

You can refer code from this
Link
Jul 17 '08 #2
cus129
4
Hi,

You can refer code from this
Link
Shweta, Thanks for the response. But the thing is I don't want the row highlighted on any datagrid event, I want the row highlighted on the form load if it meets a certain criteria.

Any more ideas will be highly appreciated!
Thanks
Jul 18 '08 #3

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

Similar topics

1
by: '[] WiRaN | last post by:
hi friends, I necessary a example of use checkbox in datagrid, help me?
8
by: pei_world | last post by:
Hi, there; I have a problem with my datagrid control. I declared it in one of my form, set with DataGridTalbeStyle as well, and when I click on button, I would like to retrive Data from Database...
1
by: jm | last post by:
I manually put a datagrid in on a form. I then added this code to an event to populate it: OdbcConnection conn = new OdbcConnection("DSN=CardBase"); sqlCardHolders = "SELECT * FROM...
1
by: Stephen | last post by:
Hey, does anyone know of any good sites or examples showing me how to create a datagrid which i can easily navigate through. I would like to be able to navigate through a datagrid using wee link...
4
by: MikeY | last post by:
Hi everyone, In C#, is there a easy way of display files (ie. mp3 files) to a datagrid? If someone can provide me with some code, or advice I would appreciated it. Thanks in advance. MikeY
4
by: Paul | last post by:
I have a datagrid and have a dataset for a data source in the properties for the datagrid. I used the property builder to set columns, and have a table set for the data member. I also have a...
3
by: Datatable Dataset Datagrid help | last post by:
Hi I am somewhat confused, I am new at VB.net I use XML data, I have a datagrid, I created a datatable so that I can create a custom format like true is this graphic false is this graphic and...
1
by: JFB | last post by:
Hi All, I have a datagrid on asp.net using VS2003. Does anybody create a link inside the datagrid and open a little window with a texarea field, and this field is related to the item on my...
1
by: johnlim20088 | last post by:
Hi Hi, can anyone help me on loop datagrid item in datagrid1_ItemDataBound? My datagrid have 3 column to display for data for each row, i will check the second column value, to determine the...
2
CroCrew
by: CroCrew | last post by:
Hello all, First off I would like to thank anyone that helps me out with this problem that I have. Ok, the environment I am working in is ASP.net with the code behind done in VB. I have a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.