LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   highlightling certain rows of a datagrid vb.net (https://www.linuxquestions.org/questions/programming-9/highlightling-certain-rows-of-a-datagrid-vb-net-351891/)

mrobertson 08-10-2005 12:46 PM

highlightling certain rows of a datagrid vb.net
 
I have a data grid that is populated based on an id number. Certain rows of this datagrid need to be highlighted. I am storing the id's that need to be hightlighted in a listbox and just want to highlight whatever id's are in that list box. Does anyone know how to do this?

Matir 08-10-2005 01:08 PM

This thread of yours didn't already cover that?

mrobertson 08-10-2005 01:15 PM

This was done in visual c# not .net. I am not familiar with the c language

deiussum 08-10-2005 01:20 PM

C# is not C. :)

Anyway, C# uses the same basic .Net framework as VB.Net, so the same properties that exist on a .Net object in C# will exist on a .Net object in VB.Net.

Also, when you say highlight, do you mean you want them actually selected, or just the color changed?

Matir 08-10-2005 01:20 PM

Ok, but then why didn't you just add to the existing thread? I'm not trying to be difficult, but I just had recalled seeing that thread and was wondering how this differed to help me understand your problem.

Might this EXEX thread help? It's been a LONG time since I worked with vb, never even with .net.

mrobertson 08-10-2005 01:55 PM

I am trying to highlight the entire row(all cells in the row) Could you help me with this?

Matir 08-10-2005 01:57 PM

That is the exact question of the user on the experts exchange thread. What is wrong with that thread?

ewaltd 08-11-2005 07:48 AM

mrobertson..

Are you 10 years old or what?

You might as well save us all some time and just post your requirements here and we can write the app for you.

EVERYTHING you have asked about here is in MSDN, online, and in tons of books.

READ READ READ READ.

Plus there are a ton of forums on VB.NET, .NET in general etc... Go there and post. I can't stand coming to a linux forum and reading some whinny post about "I can't highlihgt a grid" or "i can't load a drop down control" or any of the other simple subjects you have posted about.

I am on those forums also so I know there is a lot of help out there for you. Quit wasting bandwidth here, go to the VB.NET beginners forum somewhere.

And BTW just for the record you are the epitome of a "VB Programmer". With statements like "This was done in visual c# not .net. I am not familiar with the c language" you don't even know what language you are looking at if it's not VB. Get a clue, then come seeking help on stuff that MS and others have not clearly explained. You remind me of a ton of people that I worked with in the early 90's that didn't have a clue and didn't seem to want to get one. They wanted everyone to think for them and they would just cut and paste code.


All times are GMT -5. The time now is 09:56 AM.