Spiga

AlternatingRows DataGridView in Visual Basic.NET 2005


AlternatingRows DataGridView in Visual Basic.NET 2005








Create a procedure like below , I give name of Datagridview GridSupplier and procedure with name GridBerwarna

Sub GridBerwarna()
With Me.GridSupplier
.RowsDefaultCellStyle.BackColor = Color.BlanchedAlmond
.AlternatingRowsDefaultCellStyle.BackColor = Color.Azure
End With
End Sub

Then we call the procedure like this :


‘ Prosedur panggildata
Sub PanggilData()

’ Another code here….

……………

……………

……………


Call GridBerwarna()

End Sub

1 comments:

  Anonymous

July 30, 2008 at 6:53 PM

Nice Topics,

Assalamu'alaikum
I have read your programming Article, that is very usefull for me, because i'm programmers too.

Please more articles

Indra Febriansyah,
www.nulisprogram.net63.net
www.ifebriansyah.co.cc

Related Links

BlogCatalog

free counters