473,799 Members | 3,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

color entire row of datagrid

Hi

Using VB.Net and Datagrid.
I have figured out how to set the color of a column depending on a value in
the column, but how do I color the entire row?

Thanks in advance
Nov 21 '05 #1
3 2650
Starbuck,

Did you already look on these pages.

http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://www.microsoft.com/belux/nl/ms.../datagrid.mspx

I hope this helps?

Cor

"Starbuck" <St******@tisco ni.co.uk>
Hi

Using VB.Net and Datagrid.
I have figured out how to set the color of a column depending on a value
in the column, but how do I color the entire row?

Thanks in advance

Nov 21 '05 #2
Thanks Cor
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:eD******** ******@TK2MSFTN GP11.phx.gbl...
Starbuck,

Did you already look on these pages.

http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://www.microsoft.com/belux/nl/ms.../datagrid.mspx

I hope this helps?

Cor

"Starbuck" <St******@tisco ni.co.uk>
Hi

Using VB.Net and Datagrid.
I have figured out how to set the color of a column depending on a value
in the column, but how do I color the entire row?

Thanks in advance


Nov 21 '05 #3
Thanks

"Cor Ligthert" <no************ @planet.nl> wrote in message
news:eD******** ******@TK2MSFTN GP11.phx.gbl...
Starbuck,

Did you already look on these pages.

http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://www.microsoft.com/belux/nl/ms.../datagrid.mspx

I hope this helps?

Cor

"Starbuck" <St******@tisco ni.co.uk>
Hi

Using VB.Net and Datagrid.
I have figured out how to set the color of a column depending on a value
in the column, but how do I color the entire row?

Thanks in advance


Nov 21 '05 #4

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

Similar topics

1
6323
by: Job Lot | last post by:
How can I conditionally change the color of a row in DataGrid? I have a column named “MonthClosed” in my DataGrid. If the value of in this column of a row is True then I want to set the color of entire row to Green otherwise as Blue. Thanx
4
1918
by: David Krmpotic | last post by:
Hello, Can please tell me how to do it ? This should be simple, because I'd think it's used a lot.. but in reality is not that simple and there is at least 50 topics about it in newsgroups, but the problem is that people see the question and just write about overriding OnPaint or pointing to the syncfusion site without reading the question.. it's coloring the entire row, not just one cell.. I can't believe it, but there is so many...
2
7077
by: Charlie | last post by:
Hi: Using the WinForms DataGrid, I would like to have the entire row highlight rather than just the cell that was last clicked. How do you do this? Thanks, Charlie
0
873
by: Sjaakie Helderhorst | last post by:
I populated a datagrid with a 'send' button at each row, which needs to be clicked whenever a value has been entered. This datagrid enables a user to enter parameters which are used for computing. This list of parameters can be as large as 63, so pressing the send-button over and over again gets rather annoying. Is is possible to allow a user to enter all values and then postback the entire grid by pressing a 'send' button at the end of...
2
1502
by: Joao Dias | last post by:
Hi, I am almost new here and a newbie in ASP.NET and .NET in general. How can I make just that ? I have tried at least 5 different ways of doing that and I just can't: I have a data-bound Datagrid in a Web form, wich I want to save because when I display it, I manually truncate some values (to mantain a one-line per record view)
0
1196
by: Bidarkota | last post by:
Can i set the color of the entire DataGrid Column (for example to blue) when i click the header of the DataGrid Column. If it is possible please help with sample code. Thanks in Advance.
2
1342
by: hemant | last post by:
hello everybody, I am having a datagrid which has data regarding customers. it has a penalty column, and i want to show the entire record of the customer in red whose penalty is greater than zero. i have looked into the other messages which guide to override the paint procedure of the datagrid, make a new class etc. i am not able to understand the exact way of doing the mentioned
3
1092
by: brix_zx2 | last post by:
I'm writing a program in VB .NET 2k3, I have a datagrid bound to a database (Access 2002). Does anyone have info or know where I can go to change the color of a row based on the value in one column? I have found stuff on alternating colors and all that good stuff but nothing that I need. Thanks
2
2382
by: chris357 | last post by:
I am new to .Net. Currently I am creating a windows application. I would like to know how to change the row color in a datagrid based on the value present in the cell in datagrid. For eg:- in my datagrid there are 2 fields called product name and quatity. If the quantity is greater than 20 then that entire row should be in red color. Pls help.
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9546
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10247
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10031
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7571
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.