How to set the 'Insert New Row' as First Row in DataGridView

Pada posting kali ini akan dibahas tentang "How to set the 'Insert New Row' as First Row in DataGridView"

"How to set the 'Insert New Row' as First Row in DataGridView"  biasanya digunakan untuk memperlihatkan urutan antrian secara visual.

Dibawah contoh skrip untuk posting "How to set the 'Insert New Row' as First Row in DataGridView"

Dim dtLog As New DataTable()
dtLog.Columns.Add("Log", GetType(String))

oDr = dtLog.NewRow
Dim nInt As Int16 = 1
oDr("Log") = (nInt).ToString
dtLog.Rows.InsertAt(oDr, 0)
DgLog.DataSource = dtLog

Recommended Reading:
Get Publish Version in VB.NET OneClick Deployment

Semoga posting artikel tentang "How to set the 'Insert New Row' as First Row in DataGridView" diatas dapat bermanfaat.


Salam,

Popular posts from this blog

K2 Error Value Cannot Be Null. Parameter Name: s In SmartView and SmartObject

Cara inject USB 3.0 Driver pada instalasi Windows - How to Inject USB 3.0 Driver in Windows 7

Pentaho Spoon Error : "Could Not Create The Java Virtual Machine"