LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2005, 12:46 PM   #1
mrobertson
Member
 
Registered: May 2005
Posts: 275

Rep: Reputation: 30
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?
 
Old 08-10-2005, 01:08 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
This thread of yours didn't already cover that?
 
Old 08-10-2005, 01:15 PM   #3
mrobertson
Member
 
Registered: May 2005
Posts: 275

Original Poster
Rep: Reputation: 30
This was done in visual c# not .net. I am not familiar with the c language
 
Old 08-10-2005, 01:20 PM   #4
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
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?
 
Old 08-10-2005, 01:20 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 08-10-2005, 01:55 PM   #6
mrobertson
Member
 
Registered: May 2005
Posts: 275

Original Poster
Rep: Reputation: 30
I am trying to highlight the entire row(all cells in the row) Could you help me with this?
 
Old 08-10-2005, 01:57 PM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
That is the exact question of the user on the experts exchange thread. What is wrong with that thread?
 
Old 08-11-2005, 07:48 AM   #8
ewaltd
LQ Newbie
 
Registered: Jul 2005
Distribution: SuSE 9.3 Pro and FC3
Posts: 17

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
columns & rows Ammad Linux - General 1 08-08-2005 04:02 AM
Querying for data and porinting to a datagrid based on items in a list box mrobertson Programming 8 07-29-2005 01:23 PM
I there a way to tell awk to select rows instead of collums jsandro7 Linux - Newbie 2 06-14-2004 10:58 AM
rows and columns digitalgravy Linux - General 2 03-16-2004 06:47 PM
Hiden Rows in Openoffice inecoiec Linux - Software 0 03-11-2003 06:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration