Click here to Skip to main content
15,893,814 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHelp VB.Net Media Player Pin
Raj.Sharma16-Feb-06 22:59
Raj.Sharma16-Feb-06 22:59 
AnswerRe: Help VB.Net Media Player Pin
Hari Om Prakash Sharma17-Feb-06 0:34
Hari Om Prakash Sharma17-Feb-06 0:34 
QuestionHow to display a context menu fully? Pin
KaKa'16-Feb-06 22:15
KaKa'16-Feb-06 22:15 
Questionhow to print MS Chart??? Pin
DreamQuestioner16-Feb-06 21:55
DreamQuestioner16-Feb-06 21:55 
AnswerRe: how to print MS Chart??? Pin
Joshua Quick17-Feb-06 14:08
Joshua Quick17-Feb-06 14:08 
AnswerRe: how to print MS Chart??? Pin
Joshua Quick18-Feb-06 11:04
Joshua Quick18-Feb-06 11:04 
QuestionDatagridview: Changing Row Color based on column value Pin
abhinish16-Feb-06 20:02
abhinish16-Feb-06 20:02 
AnswerRe: Datagridview: Changing Row Color based on column value Pin
AlexeiXX320-Feb-06 5:57
AlexeiXX320-Feb-06 5:57 
You have to add a handler for the datagridview (cellpainting)
That event will be fired for every cell in your datagridview. There you must check the columnindex to see if thats the column you are checking, if it is, change the color of the row
Private Sub dgvDetalle_CellPainting(ByVal sender As Object, ByVal e As DataGridViewCellPaintingEventArgs) Handles dgvDetalle.CellPainting
If e.RowIndex >= 0 And e.RowIndex <= Me.dgvDetalle.Rows.Count - 1 Then
If e.ColumnIndex = 2 Then
If e.Value = 1 Then
'code to change color of current row
Me.dgvDetalle.Rows(e.RowIndex).DefaultCellStyle.BackColor = Color.AliceBlue
End If
End If
End If
End Sub
I hope that helps, if you havent done it yet

Alexei AR
Theres always a better way
Look for it Smile | :)
QuestionVB.Net Keyword Pin
alien viper16-Feb-06 19:12
alien viper16-Feb-06 19:12 
AnswerRe: VB.Net Keyword Pin
CWIZO17-Feb-06 4:02
CWIZO17-Feb-06 4:02 
AnswerRe: VB.Net Keyword Pin
Dave Kreskowiak17-Feb-06 4:10
mveDave Kreskowiak17-Feb-06 4:10 
QuestionDatatype Conversion Pin
welbert16-Feb-06 16:34
welbert16-Feb-06 16:34 
AnswerRe: Datatype Conversion Pin
alien viper16-Feb-06 17:31
alien viper16-Feb-06 17:31 
AnswerRe: Datatype Conversion Pin
Chatura Dilan16-Feb-06 18:10
Chatura Dilan16-Feb-06 18:10 
QuestionGet All SQL Server Name Pin
alien viper16-Feb-06 16:05
alien viper16-Feb-06 16:05 
QuestionCUSTOM WEB SERVER CONTROL WITH VALIDATION Pin
JohnyCoder16-Feb-06 12:30
JohnyCoder16-Feb-06 12:30 
QuestionRefactor! Add-in Pin
Kevin McFarlane16-Feb-06 9:59
Kevin McFarlane16-Feb-06 9:59 
AnswerRe: Refactor! Add-in Pin
Colin Angus Mackay16-Feb-06 13:17
Colin Angus Mackay16-Feb-06 13:17 
AnswerRe: Refactor! Add-in Pin
Joshua Quick16-Feb-06 13:21
Joshua Quick16-Feb-06 13:21 
GeneralRe: Refactor! Add-in Pin
Al Ortega16-Feb-06 13:46
Al Ortega16-Feb-06 13:46 
GeneralRe: Refactor! Add-in Pin
Joshua Quick16-Feb-06 14:33
Joshua Quick16-Feb-06 14:33 
GeneralRe: Refactor! Add-in Pin
Al Ortega16-Feb-06 15:02
Al Ortega16-Feb-06 15:02 
GeneralRe: Refactor! Add-in Pin
Kevin McFarlane17-Feb-06 8:37
Kevin McFarlane17-Feb-06 8:37 
GeneralRe: Refactor! Add-in Pin
Joshua Quick17-Feb-06 9:01
Joshua Quick17-Feb-06 9:01 
QuestionRun a crystal report via VB.Net Pin
directred16-Feb-06 8:31
directred16-Feb-06 8:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.