Ada yang tahu cara isi datagrid?

 

Saya pake perintah : 

DtgPembelian.Item(DtgPembelian.VisibleRowCount - 1, 1) = "NamaProduk"

 

Muncul pesan error :

An unhandled exception of type 'System.ArgumentException' occurred in
system.windows.forms.dll

 

Additional information: The ListManager's position must be equal to rowNum.

 

Mohon bantuannya

 

Thx before

Kirim email ke