Skip to main content

Posts

Showing posts from September, 2015

Cara Membuat Auto Number Dengan DatagridView Pada Visual Studio 2008

Private Sub AutoNumberRowsForGridView() ' membuat no otomatis pada datagridview         If DG IsNot Nothing Then             Dim count As Integer = 0             While (count <= (DG.Rows.Count - 2))                DG.Rows(count).HeaderCell.Value = String.Format((count + 1).ToString(), "0")                 count += 1             End While