merefresh data yg ada di listview biar ketika di refresh data terbaru langsung muncul di listview

Set rslist = New ADODB.Recordset
rslist.Open “select * from barang”, cn, 1,3

With ListView1.ListItems
.Clear
Do While Not rslist.EOF
Set oListItem = .Add(, , rslist!kode_brg)
oListItem.ListSubItems.Add , , rslist.Fields(“nama_brg”)
oListItem.ListSubItems.Add
rslist.MoveNext
Loop
End With

One thought on “merefresh data yg ada di listview biar ketika di refresh data terbaru langsung muncul di listview

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s